jonjamz / blaze-forms

Dead easy reactive forms with validation (Meteor).
https://atmospherejs.com/templates/forms
MIT License
113 stars 11 forks source link

Event handler for `validationEvent` should be throttled #37

Closed jonjamz closed 9 years ago

jonjamz commented 9 years ago

Sometimes when doing rapid validation (on keyup with fast typing) an input element will have minor glitches.

Throttling the calls to the event handler by 300ms fixes the problem.

jonjamz commented 9 years ago

Could have a custom throttle time, too.

jonjamz commented 9 years ago

Will revisit custom throttling/debouncing at a later time as the use case arises.