Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
adrienbourgeois opened this issue Oct 21, 2016 · 1 comment
Open

Comments

@adrienbourgeois
Copy link

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', ... }
@jarnoan
Copy link

jarnoan commented Dec 14, 2016

Try defining also searchField:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants