Skip to content

Commit

Permalink
Update demo
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Nov 15, 2023
1 parent fb5d122 commit 595a680
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/showcase/doc/dropdown/reactiveformsdoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interface City {
</app-docsectiontext>
<div class="card flex justify-content-center">
<form [formGroup]="formGroup">
<p-dropdown formControlName="selectedCity" [options]="cities" optionLabel="name"></p-dropdown>
<p-dropdown formControlName="selectedCity" [options]="cities" optionLabel="name" placeholder="Select a City"></p-dropdown>
</form>
</div>
<app-code [code]="code" selector="dropdown-reactive-forms-demo"></app-code>
Expand Down Expand Up @@ -47,13 +47,13 @@ export class ReactiveFormsDoc implements OnInit {
code: Code = {
basic: `
<form [formGroup]="formGroup">
<p-dropdown formControlName="city" [options]="cities" optionLabel="name"></p-dropdown>
<p-dropdown formControlName="selectedCity" [options]="cities" optionLabel="name" placeholder="Select a City"></p-dropdown>
</form>`,

html: `
<div class="card flex justify-content-center">
<form [formGroup]="formGroup">
<p-dropdown formControlName="city" [options]="cities" optionLabel="name"></p-dropdown>
<p-dropdown formControlName="selectedCity" [options]="cities" optionLabel="name" placeholder="Select a City"></p-dropdown>
</form>
</div>`,

Expand Down

0 comments on commit 595a680

Please sign in to comment.