Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292618

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

$
0
0

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
#2700667: Notice: Undefined index: #type in Drupal\Core\Form\FormHelper::processStates()
#2226405: FAPI #states: dependent element added via AJAX initializes incorrectly if dependee has been initialized earlier
#1149078: States API doesn't work with multiple select fields
#2847425: #states not affecting visibility/requirement of managed_file
#736182: Match States API required fields theming with Forms API
#994360: #states cannot check/uncheck checkboxes elements
#2820586: #states not applied to link elements


Viewing all articles
Browse latest Browse all 292618

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>