Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Make parent form aware of child form ng-dirty state chan
Message
From
15/08/2015 03:09:31
 
General information
Forum:
Javascript
Category:
Other
Miscellaneous
Thread ID:
01623431
Message ID:
01623432
Views:
53
>Hi,
>
>More details about my original question http://stackoverflow.com/questions/32016037/propagating-views-dirty-state-to-the-containing-form
>
>I've created a new directive, but from that directive I don't know which event to hook to set parentForm dirty status when my form dirty status is changing.
>
>Thanks in advance.

Can't you just add a scope.$watch on form.$dirty ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform