You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: