[META] Add Javascript tests for all Form API's #states

Created on 7 July 2017, over 7 years ago
Updated 4 November 2023, about 1 year ago

Follow up to #2702233: [backport] Add JavaScript tests for Form API #states: required, visible, invisible, expanded, checked, unchecked to track which states are covered

The following states may be applied to an element with the issue that provides the tests

here are currently a number of issues regarding states that are blocked on the core gate for testing and could benefit greatly from the tests.
#2871794: #states attribute does not work for managed_file
🐛 Notice: Undefined index: #type in Drupal\Core\Form\FormHelper::processStates() Needs work
#2226405: FAPI #states: dependent element added via AJAX initializes incorrectly if dependee has been initialized earlier
🐛 States API doesn't work with multiple select fields Needs review
🐛 #states not affecting visibility/requirement of managed_file Needs work
📌 Match States API required fields theming with Forms API Needs work
🐛 #states cannot check/uncheck checkboxes elements Fixed
🐛 #states not applied to link elements Fixed

📌 Task
Status

Active

Version

11.0 🔥

Component
Form 

Last updated 2 days ago

Created by

🇺🇸United States tedbow Ithaca, NY, USA

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024