We recently had a bug where we disabled the FormSubmit component (using its disabled prop), but the Form could still be submitted with the Enter key. To avoid this situation, there should be a disabled prop on the Form component, which we could have set to true.
(In the meantime, the workaround is to do nothing in the handleFormData callback when the form should be disabled.)
We recently had a bug where we disabled the
FormSubmitcomponent (using itsdisabledprop), but theFormcould still be submitted with the Enter key. To avoid this situation, there should be adisabledprop on theFormcomponent, which we could have set totrue.(In the meantime, the workaround is to do nothing in the
handleFormDatacallback when the form should be disabled.)