Add #required to "OpenAI API Key" field

Created on 30 April 2025, 4 days ago

Problem/Motivation

Field "OpenAI API Key" is required, but does not have client-side validation for required. We just need to add #requiredproperty, which would be useful to have client-side validation itself.

Steps to reproduce

  • Go to admin/config/ai/providers/openai
  • Save the Form without selecting a key.

Proposed resolution

Add a property

      '#required' => TRUE,

Remaining tasks

Implement the code

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

1.1

Component

User interface

Created by

🇮🇳India prashant.c Dharamshala

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024