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
When using modal its expected that enter will submit the form. Some code ttps://github.com/infor-design/enterprise/blob/main/src/components/modal/modal.js#L976 is trying to do it but seems a bit off.
The text was updated successfully, but these errors were encountered:
tmcconechy
changed the title
On modal, Enter key does not trigger Primary Button on form.
Modal: Enter key does not trigger the Primary Button
May 17, 2021
Describe the bug
When using modal its expected that enter will submit the form. Some code ttps://github.com/infor-design/enterprise/blob/main/src/components/modal/modal.js#L976 is trying to do it but seems a bit off.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Enter should submit the modal when in an input
Version
Platform
Additional context
There is code thats "trying" to do it https://github.com/infor-design/enterprise/blob/main/src/components/modal/modal.js#L976 but in my tests its not working when you are in input elements and im not sure why that's the case
The text was updated successfully, but these errors were encountered: