Form states not working

Created on 25 August 2024, 3 months ago

Problem/Motivation

Since Drupal Core 10.3.1 states on the form field entity_ids do not work any more.

...
'#states' => [
'visible' => [':input[name="settings[picture][browser][entity_ids]"]' => ['empty' => FALSE] ],
],
...

It is probably related to issue #3386191, as the 'once' function is now used there and therefore no more states are added to the field after the ajax request.

Does anyone have any ideas on how to solve the problem?

🐛 Bug report
Status

Active

Version

2.11

Component

Core API

Created by

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

Comments & Activities

Production build 0.71.5 2024