Now my Mover never detects the changes because
adding no-dirtry-check automatically makes the controls to not participate in the dirty/pristine changes.
Is there a way to add this directive somehow conditionally or on the fly to my select lists?
E.g. I only need this directive added if keepPristine set to true.
I think I'll just add some code to the MoveLeft and MoveRight buttons to make the form dirty at it will solve my problem.
UPDATE. So, I added no-dirty-check to both select controls and in the directive's code I set form's dirty state conditionally. I think it now works fine the way I needed.
Thanks again.
If it's not broken, fix it until it is.
My Blog