kendo-react
kendo-react copied to clipboard
Add a method to the Form that will validate it programmatically.
Add a method to the Form that will validate it programmatically.
When you guys get to this, it'd be nice to have a way to also get the form values programmatically.
requested again in 1538011
@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
Any ETA on this ?
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