Skip to content

Commit

Permalink
update multiselect chipsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetcetin01140 committed May 24, 2024
1 parent 39c1746 commit c88b0c8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/app/showcase/doc/multiselect/chipsdoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface City {
<p>Selected values are displayed as a comma separated list by default, setting <i>display</i> as <i>chip</i> displays them as chips.</p>
</app-docsectiontext>
<div class="card flex justify-content-center">
<p-multiSelect [options]="cities" [(ngModel)]="selectedCities" placeholder="Select Cities" optionLabel="name" display="chip" [showClear]="true" />
<p-multiSelect [options]="cities" [(ngModel)]="selectedCities" placeholder="Select Cities" optionLabel="name" display="chip"/>
</div>
<app-code [code]="code" selector="multi-select-chips-demo"></app-code>
`
Expand All @@ -39,17 +39,15 @@ export class ChipsDoc implements OnInit {
[(ngModel)]="selectedCities"
placeholder="Select Cities"
optionLabel="name"
display="chip"
[showClear]="true" />`,
display="chip" />`,

html: `<div class="card flex justify-content-center">
<p-multiSelect
[options]="cities"
[(ngModel)]="selectedCities"
placeholder="Select Cities"
optionLabel="name"
display="chip"
[showClear]="true" />
display="chip" />
</div>`,

typescript: `import { Component, OnInit } from '@angular/core';
Expand Down

0 comments on commit c88b0c8

Please sign in to comment.