From 745416e4eea02f673ba2a6764e43ebf0b94a4613 Mon Sep 17 00:00:00 2001 From: noellamwanzia Date: Tue, 7 Sep 2021 11:16:25 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9BDisable=20supplier=20input=20field?= =?UTF-8?q?=20when=20updating=20an=20invoice=20to=20prevent=20users=20from?= =?UTF-8?q?=20changing=20suppliers=20for=20already=20created=20invoices.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../autocomplete-action-field.component.html | 2 +- .../autocomplete-action-field.component.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/iote/bricks-angular/src/lib/material-form-bricks/components/autocomplete-action-field/autocomplete-action-field.component.html b/iote/bricks-angular/src/lib/material-form-bricks/components/autocomplete-action-field/autocomplete-action-field.component.html index 95d19d8..161bc85 100644 --- a/iote/bricks-angular/src/lib/material-form-bricks/components/autocomplete-action-field/autocomplete-action-field.component.html +++ b/iote/bricks-angular/src/lib/material-form-bricks/components/autocomplete-action-field/autocomplete-action-field.component.html @@ -7,7 +7,7 @@ + [required]="required" [disabled]="isDisableSupplier" /> implements OnInit, OnChanges @Input() required: boolean; @Input() icon :string; @Input() inputType :string = 'text'; + @Input() isDisableSupplier? : boolean; @Output() itemSelected = new EventEmitter(); @Output() newItemTyped = new EventEmitter();