Skip to content

Commit

Permalink
Update showcases/angular-showcase/src/app/components/form/selects/sel…
Browse files Browse the repository at this point in the history
…ects.component.html

Co-authored-by: Maximilian Franzke <[email protected]>
  • Loading branch information
nmerget and mfranzke authored Jul 9, 2024
1 parent e1ef8a0 commit 21dc640
Showing 1 changed file with 22 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,26 @@
[model]="ngModel"
[control]="formControl.value"
>
<db-select
label="Plain"
[value]="plain"
(change)="plain = $event.target.value"
>
<option value="combobox-0">combobox-0</option>
<option value="combobox-1">combobox-1</option>
<option value="combobox-2">combobox-2</option>
</db-select>
<db-select label="ngModel" [(ngModel)]="ngModel">
<option value="combobox-0">combobox-0</option>
<option value="combobox-1">combobox-1</option>
<option value="combobox-2">combobox-2</option>
</db-select>
<db-select label="formControl" [formControl]="formControl">
<option value="combobox-0">combobox-0</option>
<option value="combobox-1">combobox-1</option>
<option value="combobox-2">combobox-2</option>
</db-select>
<fieldset>
<legend>Different form approaches</legend>
<db-select
label="Plain"
[value]="plain"
(change)="plain = $event.target.value"
>
<option value="combobox-0">combobox-0</option>
<option value="combobox-1">combobox-1</option>
<option value="combobox-2">combobox-2</option>
</db-select>
<db-select label="ngModel" [(ngModel)]="ngModel">
<option value="combobox-0">combobox-0</option>
<option value="combobox-1">combobox-1</option>
<option value="combobox-2">combobox-2</option>
</db-select>
<db-select label="formControl" [formControl]="formControl">
<option value="combobox-0">combobox-0</option>
<option value="combobox-1">combobox-1</option>
<option value="combobox-2">combobox-2</option>
</db-select>
</fieldset>
</app-form-wrapper>

0 comments on commit 21dc640

Please sign in to comment.