The id of the field in subform was expected to be without any hyphen in it "jform_com_tjucm_sample_subform__com_tjucm_sample_subform1__repetable_subform_test"
The id of the input element contains hyphen if the field name contains a hyphen
"jform_com_tjucm_sample_subform__com_tjucm_sample_subform1__repetable_subform-test"
Latest Joomla
getId() function in class FormField has the code which replaces all the non-word characters in the id of an element to underscore.
Such code is missing in the "subform-repeatable.js" which generated the clone of the fields in the subform
Labels |
Added:
?
|
Labels |
Added:
J3 Issue
|
Title |
|
Status | New | ⇒ | Information Required |
No, this behavior does not leads to any issue or error in Joomla core but the behavior is not gerneric in both the cases i.e Standard form and the sub-form which leads to difficulties for the extension developer to predict the behavior and impliment the solutions of thair problems.
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-07-02 06:26:29 |
Closed_By | ⇒ | alikon |
Closed_By | alikon | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @alikon by The JTracker Application at issues.joomla.org/joomla-cms/25387
please test #25398
Just a question: Does this behavior lead to any issues/errors/malfunctions?