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
Leighton Sapir edited this page Nov 10, 2020
·
5 revisions
1. Why does a modal close when I press Enter in an input?
When you click on the Enter key, the form will try to submit if there is a button somewhere without the proper type declaration. To fix this problem make sure you include type="button" to any button that won't work as "submit".