Skip to content

[Bug]: Form Validation with formik #187

Open
@mhkasif

Description

@mhkasif

Describe the bug
I'm using Formik and Yup for handling form and validation. The problem is that , I've implemented my own buttons in each component with type="submit" and each component has the <Formik> component.

When I press the Enter key, I want this button to be performed but it is not working.
It just takes me to another step without calling the function I add on onSubmit

If I add the preventEnterSubmission property, then nothing is happening on pressing Enter key

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions