User tests: Successful: Unsuccessful:
Bug #27080
Summary of Changes
For repetable subform if the name of any field in the subform contains hyphen (-) then the id of the clone is not generated correctly.
If we click on (+) button to add the clone of the subform then the id of the field with hyphen (-) in name do not contain correct number of the clone, instead X is shown in the id.
Testing Instructions
Check the value of id attribute of input element in repetable subform after clicking the plus (+) button to add new clone of sub-form with a field having name hyphen (-) in it.
E.g If we have repetable subform field named as 'office-address' then the id of the elements in the cloned set should be like this 'jform_office_address__office_address1__address' but it is generated as 'jform_office_address__office_addressX__address'
Expected result
The value of id attribute of input element should contain clone number and not X
Actual result
The clone number for the field is not getting replaced with X
Documentation Changes Required
no change required in documentation
Status | New | ⇒ | Pending |
Category | ⇒ | JavaScript |
Rel_Number | ⇒ | 27080 | |
Relation Type | ⇒ | Pull Request for | |
Labels |
Added:
?
|
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
?
|
I have tested this item
Working with all the editors
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-11-25 09:18:51 |
Closed_By | ⇒ | HLeithner |
thx
I have tested this item
Works with TinyMCE and "None", in 3.9.8.
I have tested this item✅ successfully on 64c3c90
Seems to work!
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27081.