Skip to content

feat(input, select): separate the placeholder and label as shown in the official mocks #6194

Closed
@srix55

Description

@srix55

Bug, feature request, or proposal:

Bug

What is the expected behavior?

The placeholder used in a textarea with multiple rows should automatically use up the other rows when too long to fit in just the first row.

What is the current behavior?

The placeholder is truncated in the first row with the other rows left blank.

What are the steps to reproduce?

Plunk: http://plnkr.co/edit/OAxiFX?p=preview

What is the use-case or motivation for changing an existing behavior?

I would want to tell the user as to what format a textarea is to be filled up. Possibly referencing certain standard examples / policies for which I need a few lines' worth of text.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular 4.3.1
Material 2.0.0-beta.8-374aaff
All OS
Typescript ^2.2.2
Checked in Chrome & Firefox

Is there anything else we should know?

No

Metadata

Metadata

Assignees

Labels

AccessibilityThis issue is related to accessibility (a11y)P2The issue is important to a large percentage of users, with a workaroundfeatureThis issue represents a new feature or feature request rather than a bug or bug fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions