Jump to content

ips.ui.form _unlimitedCheck into matrix table


BomAle
 Share

Recommended Posts

Hello, I see into matrix table when define a column with Form\Select with unlimited checkbox and check unlimited checkbox the javascript don't unselect the previous select element.

I have seen it caused by a limited condition into _unlimitedCheck on ips.ui.form, therefore I "suggest" to edit it as follow:

//change:
_unlimitedCheck = function (checkbox) {
	var inputs = checkbox.closest('.ipsFieldRow_content,[data-role="unlimitedCatch"]').find('input:not([type="checkbox"],[type="hidden"]),select,textarea');

//into:
_unlimitedCheck = function (checkbox) {
	var inputs = checkbox.closest('.ipsFieldRow_content,[data-role="unlimitedCatch"],[data-matrixrowid] td').find('input:not([type="checkbox"],[type="hidden"]),select,textarea');

 

Edited by BomAle
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...