Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make parent form aware of child form ng-dirty state chan
Message
De
15/08/2015 03:09:31
 
 
Information générale
Forum:
Javascript
Catégorie:
Autre
Divers
Thread ID:
01623431
Message ID:
01623432
Vues:
52
>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 ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform