Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form implicitSubmit not working #12917

Open
canvasofgod opened this issue Nov 15, 2024 · 0 comments
Open

Form implicitSubmit not working #12917

canvasofgod opened this issue Nov 15, 2024 · 0 comments
Labels
Bug Something is broken and not working as intended in the system. untriaged

Comments

@canvasofgod
Copy link

Summary

I am trying to make a form that won't submit when the "Enter" key is pressed. According to the Polaris documentation, this should be possible by setting the implicitSubmit prop to false. However, the form still submits when the "Enter" key is pressed.

Expected behavior

Form should not submit on "Enter" keypress when the implicitSubmit prop is set to false.

eg. <Form implicitSubmit={false}></Form>

Actual behavior

Form still submits when the "Enter" key is pressed.

Steps to reproduce

Are you using React components?

Yes

Polaris version number

12.0.0

Browser

Firefox

Device

No response

@canvasofgod canvasofgod added Bug Something is broken and not working as intended in the system. untriaged labels Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken and not working as intended in the system. untriaged
Projects
None yet
Development

No branches or pull requests

1 participant