angular-dynamic-forms
angular-dynamic-forms copied to clipboard
How can we track global changes without submit button?
I would like to track changes on formData with something like ng-change but ng-change gave error when I added to the dynamic-form directive. Is it possible to achieve such thing?
I'm not aware of any reason for that not to work. Can you provide more detail on the error, and some sample code that generates it?
When you add ng-change to the directive directly on html. It gaves "ngChange requires ngModel control" on console and not rendering. But eventually it has ng-model also. I did solve the problem by detecting the page leave rather than form change to update my collection. I will try to arrange a fiddle also. Thanks for your rapid response by the way! Congrats!