Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can we track global changes without submit button? #52

Open
MrGorki opened this issue Jun 3, 2015 · 2 comments
Open

How can we track global changes without submit button? #52

MrGorki opened this issue Jun 3, 2015 · 2 comments

Comments

@MrGorki
Copy link

MrGorki commented Jun 3, 2015

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?

@danhunsaker
Copy link
Owner

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?

@MrGorki
Copy link
Author

MrGorki commented Jun 3, 2015

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants