User tests: Successful: Unsuccessful:
Fixes JS validation for required checkboxes.
Create a form containing required checkbox.
E.g. add required="true"
to both
field in administrator/components/com_languages/forms/override.xml
:
<field
name="both"
type="checkbox"
label="COM_LANGUAGES_OVERRIDE_FIELD_BOTH_LABEL"
value="true"
filter="boolean"
required="true"
/>
Go to Language Override form. Check the checkbox and click somewhere on the page.
No validation warning shown.
Warning shown:
One of the options must be selected
No.
Status | New | ⇒ | Pending |
Category | ⇒ | JavaScript Repository NPM Change |
The test of js is successfull but the result is not correct.
If a checkbox is required, but the user did not check, the messag is "One of the options must be selected".
While there are not several options.
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
?
?
NPM Resource Changed
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-05-18 22:09:45 |
Closed_By | ⇒ | wilsonge | |
Labels |
Thanks!
I have tested this item✅ successfully on b7d1382
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28942.