dojo / widgets

:rocket: Dojo - UI widgets.
https://widgets.dojo.io
Other
88 stars 66 forks source link

Replace `invalid` properties with `validate` callbacks #678

Closed tomdye closed 5 years ago

tomdye commented 5 years ago

Enhancement

We have implemented a validation flow for text-input and text-area which removes the invalid properties and utilises helperText to display validation messages. We should do the same for all other widgets which require validation.

This involves changing from invalid property to valid and adding an onValidate callback where native validation can be used.

tomdye commented 5 years ago

Closing as this has largely been completed. We shall raise separate issues for remaining cases