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

Change from setInterval to change events #3

Open
netsi1964 opened this issue Jan 25, 2014 · 3 comments
Open

Change from setInterval to change events #3

netsi1964 opened this issue Jan 25, 2014 · 3 comments
Labels

Comments

@netsi1964
Copy link

Thank you for sharing!

I know that the setInterval solution works, but I just believe that a approach where you listen for changes would perhaps be a better approach.

@chriscct7
Copy link
Contributor

I agree with this. Maybe make it an option to have it both ways?

@bjerzyna
Copy link
Contributor

bjerzyna commented May 4, 2014

I created a fork and pull request for a change that implements this.
It's a two liner in coffee.

@kugaevsky
Copy link
Owner

Listening to changes quite hard to implement because of compatibility with other plugins like chosen.js and select2 for example. Simple approach to listen to change event works from time to time if you are using custom form elements.
But if you implement it as an option I will merge it with pleasure.

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

No branches or pull requests

4 participants