Skip to content

Commit

Permalink
update alias description/reference field to be required
Browse files Browse the repository at this point in the history
  • Loading branch information
clemiller committed Sep 30, 2024
1 parent d694af1 commit 0412895
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ <h1>{{is_new ? 'Add' : 'Edit'}} an associated {{config.object.attackType}}</h1>
</mat-form-field>
<mat-form-field appearance="outline">
<mat-label>associated {{config.object.attackType}} description or citation</mat-label>
<input matInput [(ngModel)]="aliasDescription">
<input matInput required [(ngModel)]="aliasDescription">
</mat-form-field>
<div class="buttons">
<button mat-button matDialogClose>cancel</button>
<button mat-stroked-button [disabled]="config.aliasName.length < 1" (click)="setAlias()">confirm</button>
<button mat-stroked-button [disabled]="!config.aliasName.length || !aliasDescription.length" (click)="setAlias()">confirm</button>
</div>
</div>

0 comments on commit 0412895

Please sign in to comment.