Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does ngChange automatically cause select become dirty?
Message
 
 
General information
Forum:
Javascript
Category:
Other
Miscellaneous
Thread ID:
01643370
Message ID:
01643410
Views:
17
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
Previous
Reply
Map
View

Click here to load this message in the networking platform