Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Make parent form aware of child form ng-dirty state chan
Message
 
 
General information
Forum:
Javascript
Category:
Other
Miscellaneous
Thread ID:
01623431
Message ID:
01623452
Views:
41
>>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 ?

Can you please elaborate a bit? Where should I place the code? Most of my views are controlled by the same controller. Each view is its own form (chtml page).
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform