commodo icon indicating copy to clipboard operation
commodo copied to clipboard

withFields - list values not checking "dirty" flag correctly

Open adrians5j opened this issue 5 years ago • 0 comments

When having a list of values, assigning anything to the field will actually mark the field as dirty, even if a list was completely the same.

This is mainly because fields receive new array instances, and currently that will make the field consider itself dirty, which is in most cases just wrong.

We need to implement a smarter way of checking the received values, and only mark the field dirty when that's truly the case.

adrians5j avatar May 26 '20 06:05 adrians5j