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

Initialize does not check for beforeSubmit #25

Closed tdwire closed 9 years ago

tdwire commented 10 years ago

ampersand-form-view documentation states that the field views can optionally specify a beforeSubmit callback - however there is no room for this in the initialization options for ampersand-input-view. It would be nice to have this be available in ampersand-input-view's initialize method so that a user doesn't have to extend for each different type of input they have on a form.