Closed LoicUV closed 9 years ago
As I only had one input in my form I used a state variable I changed in the validate method of that input.
There's no way to do this currently, but I plan on adding additional callbacks to form element to make this possible.
In the meantime - are there any methods available to accomplish this?
@heilhead my colleague @JasonTsao made a very slight PR change for this feature, can you take a look and merge in if you approve?
https://github.com/heilhead/react-bootstrap-validation/pull/42/files
Also might be relevant to you @LoicUV if you are still interested.
Is there a simple way to disable the submit button of the form when the form is invalid ?