Describe the bug
When setting a function for the onChange prop it never get's called with invalid values. If the user enters an invalid value the fallback value is used. From the outside there is no way to know if the user entered an invalid value and e.g. show an error message instead of submitting the fallback value.
To Reproduce
(Non)Pseudocode to reproduce
Describe the bug When setting a function for the onChange prop it never get's called with invalid values. If the user enters an invalid value the fallback value is used. From the outside there is no way to know if the user entered an invalid value and e.g. show an error message instead of submitting the fallback value. To Reproduce (Non)Pseudocode to reproduce
Expected behavior If the user enters an invalid value error gets set to 'Invalid color'.
Actual behavior error never gets set to 'Invalid color'
Desktop (please complete the following information):