User tests: Successful: Unsuccessful:
As result of #39350 it become impossible to use validation over non <form>
element.
Hovewer some extensions use this feature to validate form "per section".
Apply patch. Run npm install
Open a form for "New article".
In Browser console, run 2 commands (one by one):
document.formvalidator.isValid(window['item-form']);
document.formvalidator.isValid(window['item-form'].parentElement);
First command executed, and you get a validation message.
Second command throws an error
Both commands works, and shows validation message
Please select:
Category | ⇒ | JavaScript Repository NPM Change |
Status | New | ⇒ | Pending |
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
PR-4.3-dev
|
RTC
Labels |
Added:
?
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-03-30 19:00:09 |
Closed_By | ⇒ | obuisard | |
Labels |
Added:
NPM Resource Changed
|
I have tested this item✅ successfully on 819f565
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40230.