8000 material-dropdown-select changes its state to touched on focus instead of on blur · Issue #453 · angulardart/angular_components · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.
This repository was 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

Description

@Antoniossss

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0