Skip to content
Advertisement

Tag: angular-ngselect

ng-select : add an extra option

How can I add an extra item to my ng-select dropdown like the Create New in the following image : This is the current code I have: I tried using <ng-option> but the item didn’t appear in the dropdown. How can I add an extra item form the template? Answer You can use [addTag] and addTagText. [addTag] : Allows to

Advertisement