You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/demo-app/stepper/stepper-demo.html
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -195,3 +195,13 @@ <h3>Horizontal Stepper Demo with Templated Label</h3>
195
195
</div>
196
196
</mat-step>
197
197
</mat-horizontal-stepper>
198
+
199
+
<h3>Stepper with autosize textarea</h3>
200
+
<mat-horizontal-stepper>
201
+
<mat-steplabel="Step 1">
202
+
<mat-form-field>
203
+
<textareamatInputplaceholder="Autosize textarea" matTextareaAutosize>This is an autosize textarea, it should adjust to the size of its content.</textarea>
Copy file name to clipboardExpand all lines: src/demo-app/tabs/tabs-demo.html
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -277,3 +277,14 @@ <h1>Tabs with background color</h1>
277
277
</div>
278
278
</mat-tab>
279
279
</mat-tab-group>
280
+
281
+
<h1>Tabs with autosize textarea</h1>
282
+
<mat-tab-groupclass="demo-tab-group">
283
+
<mat-tablabel="Tab 1">
284
+
<divclass="tab-content">
285
+
<mat-form-field>
286
+
<textareamatInputplaceholder="Autosize textarea" matTextareaAutosize>This is an autosize textarea, it should adjust to the size of its content.</textarea>
Copy file name to clipboardExpand all lines: src/e2e-app/tabs/tabs-e2e.html
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,9 @@
2
2
<mat-tab-group>
3
3
<mat-tab>
4
4
<ng-templatemat-tab-label>One</ng-template>
5
-
First tab's content
5
+
<mat-form-field>
6
+
<textareamatInputplaceholder="Autosize textarea" matTextareaAutosize>This is an autosize textarea, it should adjust to the size of its content.</textarea>
0 commit comments