Skip to content

Commit

Permalink
[NAB-369] - Boolean field description
Browse files Browse the repository at this point in the history
- remove questionable *ngIf on Placeholder and Description inputs in edit panel
  • Loading branch information
mazarijuraj committed Nov 13, 2024
1 parent 5da6cb5 commit db18e62
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/app/form-builder/edit-panel/edit-panel.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,11 @@ <h4 class="full-width margin-html">
<mat-label>Title</mat-label>
<input matInput type="text" [(ngModel)]="dataVariable.title.value" (change)="notifyGridster()">
</mat-form-field>
<mat-form-field *ngIf="!isListOptionsDisplay()" class="full-width margin-html">
<mat-form-field class="full-width margin-html">
<mat-label>Placeholder</mat-label>
<input matInput type="text" [(ngModel)]="dataVariable.placeholder.value" (change)="notifyGridster()">
</mat-form-field>
<mat-form-field *ngIf="!isBoolean() && !isButton() && !isListOptionsDisplay() && !isFile() && !isFileList()"
class="full-width margin-html">
<mat-form-field class="full-width margin-html">
<mat-label>Description</mat-label>
<textarea matInput [(ngModel)]="dataVariable.desc.value" (change)="notifyGridster()"></textarea>
</mat-form-field>
Expand Down

0 comments on commit db18e62

Please sign in to comment.