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

Commit 1882912

Browse files
rapropostrimox
authored andcommitted
fix: Add readonly attribute to textarea (#2011)
closes #2010
1 parent f7f5e33 commit 1882912

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/textfield/textarea.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ import {MdcTextField} from './text-field';
3333
[attr.minlength]="minlength"
3434
[disabled]="disabled"
3535
[required]="required"
36+
[readonly]="readonly"
3637
(mousedown)="onInputInteraction($event)"
3738
(touchstart)="onInputInteraction($event)"
3839
(focus)="onFocus()"

0 commit comments

Comments
 (0)