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
Not sure if this is a bug or not. I think this setting turns off SUI's custom logic during form submit, but then by default the browser will submit a form when enter is pressed on an input. I think this is just the browser taking over.
I fixed this issue by changing my button from this <button class="ui primary fluid button" type="submit">Submit</button>
to <div class="ui primary submit fluid button">Submit</div>
keyboardShortcuts: false worked after these changes
Creating a form and disabling keyboardShortcuts does not disable the enter key for form submit.
Expected case is that enter key will do nothing.
Testcase
https://jsfiddle.net/skwny/8be03nao/4/
The text was updated successfully, but these errors were encountered: