Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Demos, select validation fails on Clear #6122

@guillaume-fr

Description

@guillaume-fr

Official doc : https://material.angularjs.org/latest/demo/select
In the last sample (Validations), when you set a value then clic on CLEAR the select is displayed with a validation error (Required) and the label is shown two times (Top + Placeholder).

Expected result : no validation error, label only in Placeholder.

I tried to call $setPristine and $setUntouched. It fixes the validation error but the label is still here.
http://codepen.io/anon/pen/BjyzYM

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