Forum Post: Re: New Ui - Required Picklist Field Issue After Moving It In The Dom

  • Thread starter Thread starter Meryk
  • Start date Start date
Status
Not open for further replies.
M

Meryk

Guest
Hello, Here is the piece of code that I am running on a given page : var sectionId = "rbi_S_12345"; var rows = $('section[id="' + sectionId.toString() + '"] > div'); var l = rows.children().length; // First Column handling var firstRowFirstCol = rows.children().eq(0).children().eq(0); for (var i = 1; i < l; i++) { var nextRowFirstCol = rows.children().eq(i).children().eq(0).children(); firstRowFirstCol.append(nextRowFirstCol); } Basically, I am moving rows and appending them to the first row to make the column responsive. When I remove this code, the issue disappears. as soon as I allow this code, the required picklists are no more checked before saving. That is why I was thinking it has something to do with the append I am doing in the last line. If you just try this code, you must see the issue very quickly. Thank you Meryem

Continue reading...
 
Status
Not open for further replies.
Back
Top