AmpersandJS / ampersand-input-view

A view module for intelligently rendering and validating input. Works well with ampersand-form-view.
MIT License
17 stars 19 forks source link

Call handleInputChanged, when a file input changes. #30

Closed ghost closed 9 years ago

ghost commented 9 years ago

Validation for "file" typed input tags doesn't work, because "handleInputChanged" method currently gets triggered only on "input" event.

kamilogorek commented 9 years ago

Looks fine. Tests are not necessary right now as we're triggering change events manually using handleInputChanged method anyway.

wraithgar commented 9 years ago

I've pulled this PR into one with a larger scope, we will be listening only for the change event in future, not the blur event.