We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7baf464 commit 50dff11Copy full SHA for 50dff11
src/app/components/add-value-form/add-value-form.component.html
@@ -10,10 +10,13 @@
10
<div *ngIf="type !== 'String'" class="add-form-list">
11
<div class="line" *ngFor="let v of getItemArray(); let i = index">
12
<mat-form-field *ngIf="type === 'Hash Map'" style="flex-grow:0">
13
- <input matInput placeholder="Key"
+ <textarea matInput placeholder="Key"
14
[readonly]="isEditMode && !v.isNew"
15
(change)="onValueChange()"
16
- [(ngModel)]="getItemArray()[i].key">
+ [(ngModel)]="getItemArray()[i].key"
17
+ cdkTextareaAutosize
18
+ cdkAutosizeMinRows="1"
19
+ cdkAutosizeMaxRows="7"></textarea>
20
</mat-form-field>
21
22
<mat-form-field *ngIf="type === 'List' || type === 'Set' || type === 'Ordered Set' || type === 'Hash Map'">
0 commit comments