Problem/Motivation

OpenAI apikey is longer than 128 chars so it can't be configured through the UI (admin/content/ai_image_generation_settings -> apikey).

128 is the default textfield maxlength (see #3331028: Increase default textfield #maxlength=128 to 256).

Steps to reproduce

Try to introduce a key longer than 128 chars.

Proposed resolution

Increase until 256 chars.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

manuelbermudez created an issue. See original summary.

manuelbermudez’s picture

Assigned: manuelbermudez » Unassigned
Status: Active » Needs review
StatusFileSize
new420 bytes

Here is the patch.

manuelbermudez’s picture

Created MR too.

tunic’s picture

Issue summary: View changes