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

Demos, select validation fails on Clear #6122

Closed
guillaume-fr opened this issue Dec 7, 2015 · 1 comment
Closed

Demos, select validation fails on Clear #6122

guillaume-fr opened this issue Dec 7, 2015 · 1 comment

Comments

@guillaume-fr
Copy link

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

@devversion
Copy link
Member

Here is a fix for that #6132

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

2 participants