Skip to content

Lists/Filters: Field sequence changes when a List is being edited. (Affects all 6.x - 8.x versions)

We've noticed an odd behavior where the List columns will change the original sequence when a List is modified. Mandatory fields are moved to the last position.

  • Appears to be related to the browser update.
  • Affected Versions: 6.x - 8.x.

To replicate the issue: Modify any list and the mandatory fields will be moved to the last position.

8q6E6K7V2s6S8L7D9X

The fix appears to be:

File: CustomView.js#L85

Change FROM: if(liElement.find('div').html() == option.html()){

Change TO: if(liElement.find('div').text() == option.text()){

File: CustomView.js#L109

Change FROM: if(option.html() == chosenOption.html()) {

Change TO: if(option.text() == chosenOption.text()) {

Edited by vtexperts