Add disableValidateOnXxx settings
What : New config. settings, for allowing to selectively disable one or more event handlers, on blur, and/or on input, and/or on click, and/or on submit.
Rationale : Allow to solve some use cases :
-
disableValidateOnInput Allow to disable the validation & error refresh on each user keystroke. Showing & refreshing errors on each user keystroke may be seen as annoying to some users, so the ability to disable it can be useful. (this is the use case which I have a use for).
-
disableValidateOnBlur, disableValidateOnSubmit See pull request https://github.com/cferdinandi/bouncer/pull/55 for use cases.
-
Another example use case is when willing to have minimal interference towards user, by performing client-side validation only when user submits the form -> this can be configured with the combination of disableValidateOnInput + disableValidateOnBlur + disableValidateOnClick.