the target of 'dependent' must now contain a value that passes

validation in order to remove the disabled status of the dependent field
This commit is contained in:
2025-04-12 22:48:25 -04:00
parent cb57869a94
commit 2cc6b61b33
2 changed files with 23 additions and 3 deletions

View File

@ -441,7 +441,8 @@ properly formatted JSON object with the properties and values below.
**Default:** `null`
Setting the `dependent` value of one field to another field's `name` attribute
value will disable the field when its dependent does not contain a value.
value will disable the field when its dependent field does not contain a
*valid* value.
```html
<figure class="form-group">