#disabled not working if with #states in drupal forms

Created on 18 April 2023, about 1 year ago
Updated 20 November 2023, 7 months ago

Problem/Motivation

After updating to drupal 10 #disabled is not working with states

Steps to reproduce

$form['actions']['submit']['#states']['disabled'][':input[name="abc"]']['value'] = "abc";

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

💬 Support request
Status

Closed: outdated

Version

10.0

Component
Form 

Last updated about 7 hours ago

Created by

🇮🇳India venu_bhagirath

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

Comments & Activities

Production build 0.69.0 2024