Steps to reproduce the issue
- log in to back-end
- go to com_content custom fields page
- create a required text field named "aaa"
- create a subform named "bbb" then add "aaa" field as subfield
- assign the subform field to all category
- create a new article
- go to "bbb" subform then add a new row
- then click in/out the "aaa" subfield in order to activate validate.js blur/focus events. You should see the red background as expected
- save the article
- add a new row to "bbb" subform field
- then click in/out the "aaa" subfield in order to activate validate.js blur/focus events. In this case the field background does not get red because the validate.js does not recognize the subfield of just created row
Expected result
Just created row of subform must be validate by validate.js blur/focus events
Actual result
The new rows of subform (just created) does not recognized by blur/focus events
Only the existing rows (already saved) are recognized by validate.js blur/focus events
System information (as much as possible)
browser: Firefox
php: 8.1
joomla 4.3.3
Additional comments