Skip to content

bug(Form Field): Legacy form field input missing placeholder attribute #20903

Closed
@JoeMellon

Description

@JoeMellon

Reproduction

Legacy form-field appearance from Material examples: https://stackblitz.com/angular/bqmpxokjgve?file=src%2Fapp%2Fform-field-appearance-example.html

Steps to reproduce:

  1. View example above
  2. Inspect input element from legacy form field example

Expected Behavior

placeholder attribute to be available in the dom

Actual Behavior

placeholder attribute missing from the dom

Environment

missing-placeholder-att

  • Angular: 10.2.0
  • CDK/Material: 10.2.6
  • Browser(s): Chrome / Edge
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/form-fieldarea: material/input

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions