Prevent Default/Stop Enter from Submitting
kalshair opened this issue · comments
kalshair commented
Hello,
Is there a way to prevent the 'Enter' key from submitting forms when using the "BSForm" component and/or the "BSInput" component? If not, is there a possible way to add this? Perhaps an attribute on the BSForm component or the BSInput component for DefaultBehavior, PreventDefaultBehavior, or EnterSubmits?
kalshair commented
I figured out how to use the base HTML onkeypress event to prevent enter-keys from registering as submit behaviors.