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

Allow preventing onSearchChange debounce by specifying null for loadThrottle #372

Merged
merged 1 commit into from Apr 30, 2014

Conversation

ryanwersal
Copy link
Contributor

In unit testing our component that utilizes Selectize, I found that removing the debounce made things simpler to test since it removed the need to utilize timeouts and such to get everything to flow correctly. I'm not positive this is the best (or remotely ideal) way to handle this but it has been effective so far.

brianreavis added a commit that referenced this pull request Apr 30, 2014
Allow preventing onSearchChange debounce by specifying null for loadThrottle
@brianreavis brianreavis merged commit fa897f6 into selectize:master Apr 30, 2014
@brianreavis
Copy link
Member

I think this a good idea too. Thanks man!

@ryanwersal ryanwersal deleted the prevent-debounce branch May 7, 2014 18:42
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

Successfully merging this pull request may close these issues.

None yet

2 participants