`preventEnter` not part of BasicFormProps
See original GitHub issuePer title - preventEnter
should be part of BasicFormProps

current BasicFormProps
-
export interface BasicFormProps<V = FormValues> {
allowEmptyStrings?: boolean
onSubmit?: (values: V) => void
preSubmit?: (values: V) => V
initialValues?: V
onChange?: (formState: FormState<V>) => void
onValueChange?: (values: V) => void
dontPreventDefault?: boolean
getApi?: (formApi: FormApi<V>) => void
onSubmitFailure?: (errors: { [key in keyof V]: FormError }) => void
validate?: (values: V) => FormError
validateFields?: (values: V) => { [key in keyof V]: FormError } | undefined
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to prevent ENTER keypress to submit a web form?
The "should enter -> submit" discussion is important, but not related to the actual question asked. Here is the code, up to you...
Read more >Prevent Enter Key Submitting Forms With JQuery | #! code
This is done by binding a JQuery event to the input elements of the form and returning false if the key pressed is...
Read more >How can I prevent ENTER from submitting form?
enter does NOT submit the form and I'm forced to reach for my mouse. That said, it's simple: don't add a submit button...
Read more >Using JavaScript to prevent or trigger form submission when ...
Prevent ENTER from submitting · Include the following element into the head part of your document: <script type="text/javascript"> function noenter() { return !(...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is now fixed and in the latest release
works! thank you 😃