From ee058857e6c00750eb75d3b38223e6a42ce31b17 Mon Sep 17 00:00:00 2001 From: Junior Lopes Date: Mon, 17 Jun 2024 09:55:33 +0200 Subject: [PATCH] =?UTF-8?q?liten=20fix=20f=C3=B6r=20dropdown=20select=20me?= =?UTF-8?q?n=20inget=20som=20renderar=20i=20en=20ny=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dropdown-select-documentation.component.html | 2 +- .../dropdown-select-documentation.component.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/dropdown-select-documentation/dropdown-select-documentation.component.html b/src/app/dropdown-select-documentation/dropdown-select-documentation.component.html index 7eb6a47e..9a2386c1 100644 --- a/src/app/dropdown-select-documentation/dropdown-select-documentation.component.html +++ b/src/app/dropdown-select-documentation/dropdown-select-documentation.component.html @@ -85,7 +85,7 @@ diff --git a/src/app/dropdown-select-documentation/dropdown-select-documentation.component.ts b/src/app/dropdown-select-documentation/dropdown-select-documentation.component.ts index 70dd3d8f..96c76aa8 100644 --- a/src/app/dropdown-select-documentation/dropdown-select-documentation.component.ts +++ b/src/app/dropdown-select-documentation/dropdown-select-documentation.component.ts @@ -13,6 +13,7 @@ export class DropdownSelectDocumentationComponent { items50: string[]; open1: boolean = true; form: FormControl; + form1: FormControl; formControl: FormControl; formControlDisabled = false; itemLabel = 'Ett långt alternativ som skrivs ut i helhet'; @@ -232,6 +233,7 @@ export class DropdownSelectDocumentationComponent { this.items10 = this.getItems(10); this.items50 = this.getItems(50); this.form = new FormControl(this.itemValue); + this.form1 = new FormControl({value: this.itemValue, disabled: true}); this.formControl = new FormControl('', Validators.required); }