telerik / kendo-react

Issue tracker - KendoReact http://www.telerik.com/kendo-react-ui/
https://kendo-react-teal.vercel.app
Other
212 stars 39 forks source link

Form component improvements #438

Open simonssspirit opened 4 years ago

simonssspirit commented 4 years ago
vladimirivanoviliev commented 4 years ago

FieldArray and Form level validation are available in 3.11.0-dev.202002031337

robmarzialetti commented 3 years ago

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.

simonssspirit commented 3 years ago

validation on submit requested again in 1519935

simonssspirit commented 3 years ago

server validation requested again in 1522895

Xizario commented 3 years ago

What should be done for the server validation? In my eyes only a demo is missing.

vladimirivanoviliev commented 3 years ago

For server validations we need to add support for promises. I think the time for this improvement has come.

simonssspirit commented 3 years ago

server validation requested again in 1536675

simonssspirit commented 3 years ago

request for server validation: 1543675

simonssspirit commented 2 years ago

server validation + FormContext requested in 1556209

ceby-gannetflemming commented 2 years ago

We would love to see this finished, especially the async/server validations.

samaybhavsar commented 2 years ago

Is there a work around for async/server validation ?

jmarbutt commented 1 year ago

Is there any work on an async validator?

kdikov82 commented 4 months ago

Async validation was requested again