Harvest-Dev / ng-select2

A select2 for Angular
MIT License
55 stars 32 forks source link

`autoCreate` not work #63

Closed samuelrvg closed 7 months ago

samuelrvg commented 7 months ago

The autoCreate implementation without using multiselect does not work when the list has few items, for example if the list has 2 items.

angular: 16.1 ng-select2: https://github.com/Harvest-Dev/ng-select2/releases/tag/v13.0.9

samuelrvg commented 7 months ago

Default minCountForSearch = 6

Add prop resolve my problem.

<select2 [minCountForSearch]="2"></select2>