angular_components icon indicating copy to clipboard operation
angular_components copied to clipboard

material-dropdown-select changes its state to touched on focus instead of on blur

Open Antoniossss opened this issue 6 years ago • 0 comments

For example,

material-input component changes its state to touched when input looses the focus. This is also a condition to display error message (actually it must be diry + touched).

material-dropdown-select on the other hand changes its state to touched when user clicks dropdown button - and with additional logic - causing error to appear prematurely.

I would expect this behavior to be consistent across all form components.

Here is reproduceable example

https://github.com/Antoniossss/dart-material-bad-focus

Antoniossss avatar Dec 03 '19 16:12 Antoniossss