disable document form components when no object permissions

This commit is contained in:
Michael Shamoon committed 2022-12-07 15:46:52 -08:00
1 parent d15c701510
commit 8b204cac99
18 files changed
+116 -21

No files matched your search

@@ -20,7 +20,7 @@
(clear)="clearLastSearchTerm()"
(blur)="onBlur()">
</ng-select>
<button *ngIf="allowCreateNew" class="btn btn-outline-secondary" type="button" (click)="addItem()">
<button *ngIf="allowCreateNew" class="btn btn-outline-secondary" type="button" (click)="addItem()" [disabled]="disabled">
<svg class="buttonicon" fill="currentColor">
<use xlink:href="assets/bootstrap-icons.svg#plus" />
</svg>