Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

fix(textarea): Sync MDC v7.0.0 changes #2278

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 21 additions & 19 deletions packages/textfield/textarea.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
<div class="mdc-text-field__ripple"></div>
<textarea #inputElement class="mdc-text-field__input"
[id]="id"
[rows]="rows"
[cols]="cols"
[tabindex]="tabIndex"
[attr.name]="name"
[attr.aria-invalid]="errorState"
[attr.maxlength]="maxlength"
[attr.minlength]="minlength"
[disabled]="disabled"
[required]="required"
[readonly]="readonly"
(mousedown)="onInputInteraction($event)"
(touchstart)="onInputInteraction($event)"
(focus)="onFocus()"
(input)="onInput($event)"
(change)="onChange($event)"
(blur)="onBlur()"></textarea>
<mdc-notched-outline [label]="label" [for]="id"></mdc-notched-outline>
<mdc-notched-outline [label]="label" [for]="id"></mdc-notched-outline>
<span class="mdc-text-field__resizer">
<textarea #inputElement class="mdc-text-field__input"
[id]="id"
[rows]="rows"
[cols]="cols"
[tabindex]="tabIndex"
[attr.name]="name"
[attr.aria-invalid]="errorState"
[attr.maxlength]="maxlength"
[attr.minlength]="minlength"
[disabled]="disabled"
[required]="required"
[readonly]="readonly"
(mousedown)="onInputInteraction($event)"
(touchstart)="onInputInteraction($event)"
(focus)="onFocus()"
(input)="onInput($event)"
(change)="onChange($event)"
(blur)="onBlur()"></textarea>
</span>