kendo-react icon indicating copy to clipboard operation
kendo-react copied to clipboard

Add a method to the Form that will validate it programmatically.

Open simonssspirit opened this issue 4 years ago • 4 comments

Add a method to the Form that will validate it programmatically.

simonssspirit avatar Jan 06 '21 09:01 simonssspirit

When you guys get to this, it'd be nice to have a way to also get the form values programmatically.

DaleyKD avatar Jan 13 '21 14:01 DaleyKD

requested again in 1538011

simonssspirit avatar Oct 06 '21 05:10 simonssspirit

@DaleyKD there is already a way to get the Form value using the valueGetter method https://www.telerik.com/kendo-react-ui/components/form/advanced-scenarios/#toc-reading-the-field-state

simonssspirit avatar Oct 06 '21 05:10 simonssspirit

Any ETA on this ?

samaybhavsar avatar Jun 29 '22 16:06 samaybhavsar

This is already available through the "validator" function of the Form component and forcing the validation with "forceUpdate":

  • https://www.telerik.com/kendo-react-ui/components/form/api/FormProps/#toc-validator
  • https://stackblitz.com/edit/react-qvpbdz?file=app%2Fmain.jsx
  • https://www.telerik.com/kendo-react-ui/components/form/validation/#toc-form-validation

kdikov82 avatar Jan 29 '23 08:01 kdikov82