?
Referenced as Pull Request for: # 27081
avatar cheetabhai
cheetabhai
15 Nov 2019

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

avatar cheetabhai cheetabhai - open - 15 Nov 2019
avatar joomla-cms-bot joomla-cms-bot - change - 15 Nov 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 15 Nov 2019
avatar SharkyKZ SharkyKZ - change - 15 Nov 2019
Status New Closed
Closed_Date 0000-00-00 00:00:00 2019-11-15 14:15:08
Closed_By SharkyKZ
avatar joomla-cms-bot joomla-cms-bot - change - 15 Nov 2019
Closed_Date 2019-11-15 14:15:08 2019-11-15 14:15:09
Closed_By SharkyKZ joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 15 Nov 2019
avatar joomla-cms-bot
joomla-cms-bot - comment - 15 Nov 2019

Set to "closed" on behalf of @SharkyKZ by The JTracker Application at issues.joomla.org/joomla-cms/27080

avatar SharkyKZ
SharkyKZ - comment - 15 Nov 2019

Closing as having Pull Request #27081.

Note: if you have a PR ready, you don't need to open a separate issue.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27080.

Add a Comment

Login with GitHub to post a comment