Skip to content

Commit

Permalink
Fix demo for grid
Browse files Browse the repository at this point in the history
  • Loading branch information
Zefling committed Aug 2, 2024
1 parent 083f662 commit d9a0734
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ npm i ng-select2-component --save
## Features

- select one
- options or groups
- options or groups (list or grid)
- scroll
- local search
- select by keyboard
Expand Down
7 changes: 3 additions & 4 deletions src/app/app-examples.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ <h3 id="ex-34b">34b. grid sub-group ({{ value34b }})</h3>
(update)="update('value34b', $event)"
></select2>

<h3 id="ex-35">35. grid-auto ({{ value34 }})</h3>
<h3 id="ex-35">35. grid-auto ({{ value35 }})</h3>
<select2
[overlay]="overlay"
[data]="data35"
Expand All @@ -452,16 +452,15 @@ <h3 id="ex-35">35. grid-auto ({{ value34 }})</h3>
(update)="update('value35', $event)"
></select2>


<h3 id="ex-35b">35b. grid-auto sub-group ({{ value34 }})</h3>
<h3 id="ex-35b">35b. grid-auto sub-group + multiple ({{ value35b }})</h3>
<select2
[overlay]="overlay"
[data]="data35b"
[value]="value35b"
multiple
id="selec2-35b"
grid="35px"
(autoCreateItem)="update('value35b', $event)"
(update)="update('value35b', $event)"
></select2>

</div>

0 comments on commit d9a0734

Please sign in to comment.