Open simonssspirit opened 4 years ago
FieldArray
and Form
level validation are available in 3.11.0-dev.202002031337
In my opinion, KendoReact's Form component should have a method for changing the error status of a field. This would be very useful in case of ajax validations.
Formik has this signature for the onSubmit() method:
onSubmit(values, {setSubmitting, setFieldError})
setFieldError('node_of_json', 'Error message')
This function applies the error classes and puts the message under the field.
Thanks a lot.
validation on submit requested again in 1519935
server validation requested again in 1522895
What should be done for the server validation? In my eyes only a demo is missing.
For server validations we need to add support for promises. I think the time for this improvement has come.
server validation requested again in 1536675
request for server validation: 1543675
server validation + FormContext requested in 1556209
We would love to see this finished, especially the async/server validations.
Is there a work around for async/server validation ?
Is there any work on an async validator?
Async validation was requested again
FieldArray
component - useful for Grid like components. This allows optimizations like getting new data only when needed. For example if Grid is used, it can get values on first render and refresh it only on hittingAdd New
button.component
property for the Form andrender
property for theField
component.render
prop of the form for that caseform
toFieldRenderProps
that will containsetFieldValue
method to allow update dependent fields.id
,htmlFor
and editorref
)react hook form
.