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); }