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.

mdChips with mdAutocomplete: readonly lets floating label disappear on autocomplete #7390

@migingreen

Description

@migingreen

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 empty md-chips readonly, don't show the input field  #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

Metadata

Metadata

Assignees

Labels

P1: urgentUrgent issues that should be addressed in the next minor or patch release.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions