angular-selectize
angular-selectize copied to clipboard
autocomplete doesn't work with other value than "text" & "value"
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', ... }
Try defining also searchField:
{ ..., valueField: 'id', labelField: 'title', searchField: ['title'], ... }