angular-selectize icon indicating copy to clipboard operation
angular-selectize copied to clipboard

autocomplete doesn't work with other value than "text" & "value"

Open adrienbourgeois opened this issue 9 years ago • 1 comments

config:

{ ..., valueField: 'id', labelField: 'title', ... }

This config breaks the autocomplete (all the options disappear from the dropdown as soon as you type something).

It only works with the default config:

{ ..., valueField: 'value', labelField: 'text', ... }

adrienbourgeois avatar Oct 21 '16 05:10 adrienbourgeois

Try defining also searchField:

{ ..., valueField: 'id', labelField: 'title', searchField: ['title'], ... }

jarnoan avatar Dec 14 '16 11:12 jarnoan