Skip to content

Commit

Permalink
updated tester template
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuawwright committed Mar 23, 2024
1 parent ccb5b25 commit bf74bf4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/tester/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,21 @@ <h2>ngx-autosize-input demo</h2>
<input
cdkInputAutosize
placeholder="Should fit to whatever text is displayed"
[cdkInputAutosizeUsePlaceHolderOnlyWhenEmpty]="true"
[(ngModel)]="placeHolderWhenEmpty"
type="text"
/>
<br/>
<br/>
<fieldset [formGroup]="form">
<label>
Input below should fit to placeholder only when it's visible, otherwise fit
to text entered by user
Input minimum width should equal the placeholder width, otherwise fit
the text entered by user
</label>
<br/>
<input
cdkInputAutosize
placeholder="This input is using a form control name"
[cdkInputAutosizeUsePlaceHolderOnlyWhenEmpty]="false"
formControlName="inputWithControlName"
type="text"
/>
Expand Down

0 comments on commit bf74bf4

Please sign in to comment.