Bug Report
Describe the issue:
Create form with TextField and DatePicker components. TextField is controlled component (by value and onChanged), so when typing some data to him - React will re-render form.
Actual behavior:
After re-render validation is fired.
Expected behavior:
Validation should fired only when DatePicker loses focus.
Additional question:
How check is DatePicker valid when form is submitting?
Perhaps better will be also add required prop to DatePicker input element this will prevent form submitting when DatePicker is empty?
Bug Report
Describe the issue:
Create form with TextField and DatePicker components. TextField is controlled component (by value and onChanged), so when typing some data to him - React will re-render form.
Actual behavior:
After re-render validation is fired.
Expected behavior:
Validation should fired only when DatePicker loses focus.
Additional question:
How check is DatePicker valid when form is submitting?
Perhaps better will be also add required prop to DatePicker input element this will prevent form submitting when DatePicker is empty?