Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

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

Open
Antoniossss opened this issue Dec 3, 2019 · 0 comments

Comments

@Antoniossss
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant