Skip to content

Form component should have a disabled prop, which disables submission even with the Enter key #102

@davidtheclark

Description

@davidtheclark

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.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions