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.

select: label not visible when using md-selected-text #12091

Open
@ewahner

Description

@ewahner

AngularJS Material is in LTS mode

We are no longer accepting changes that are not critical bug fixes into this project.
See Long Term Support for more detail.

Bug Report

If you use md-selected-text on an md-select with a label, the label will not appear until a value has been selected.

Demo and steps to reproduce the issue

This blank StackBlitz demo can be used to create a reproduction that demonstrates your issue.

https://codepen.io/ewahner/pen/MWJPXJJ

Detailed Reproduction Steps

  1. Use md-selected-text on an md-select
  2. Use a label inside a md-input-container

Explain the expected behavior

The label should appear as a placeholder.

Explain the current behavior

The label is not visible until a value has been selected.

Discuss the use-case or motivation for changing the existing behavior

Feels broken

List the affected versions of AngularJS, Material, OS, and browsers

  • AngularJS: 1.8.2
  • AngularJS Material: 1.2.2
  • OS:
  • Browsers:
  • Screen Readers:

Add anything else we should know

Stack Trace


Screenshots

Metadata

Metadata

Assignees

Labels

needs triageIssues that need initial triageneeds: investigationThe cause of this issue is not well understood and needs to be investigated by the team or community

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions