Material: mdChips with mdAutocomplete: readonly lets floating label disappear on autocomplete

Created on 3 Mar 2016  路  2Comments  路  Source: angular/material

See md-chips autocomplete example with additional readonly checkbox and autocomplete with md-floating-label instead of placeholder:
http://codepen.io/anon/pen/NNqzQV

There are several issues present:

  • The md-chips disappears completely if there's no value present and set to readonly (related to #7136 )
  • Floating label (same for placeholder) disappears if value is present and set to readonly
  • md-autcomplete input-container (with floating label) doesn't align with md-chips

Floating labels should always be visible in my opinion, most of the time there are more than just one input field present in a form which leads to confusion if some inputs have no label.

Possibly related to #3200

urgent

All 2 comments

This issue is closed as part of our 鈥楽urge Focus on Material 2' efforts.
For details, see our forum posting @ http://bit.ly/1UhZyWs.

...

Was this page helpful?
0 / 5 - 0 ratings