Skip to content

Commit 92dc089

Browse files
outofgamutjelbourn
authored andcommitted
docs(text-field): change text-field autosize example to minRows="1" (#16021)
Change AutosizeMinRows from 2 to 1 so the text-field cdk docs example doesn't look weird at first glance. Closes #15729
1 parent 917a52e commit 92dc089

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material-examples/text-field-autosize-textarea/text-field-autosize-textarea-example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
<textarea matInput
1616
cdkTextareaAutosize
1717
#autosize="cdkTextareaAutosize"
18-
cdkAutosizeMinRows="2"
18+
cdkAutosizeMinRows="1"
1919
cdkAutosizeMaxRows="5"></textarea>
2020
</mat-form-field>

0 commit comments

Comments
 (0)