-
Notifications
You must be signed in to change notification settings - Fork 50
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
when server-side filtering, selecting always takes the first item ! #227
Comments
You can fix this isue by setting ids. You need to start with the id 0, otherwise he will take the next item.
|
I have this server-side filter setup :
This is almost a copy of the sample code. But notice the call to update that has been added near the end of the callback implementation.
So either the documentation is wrong and this call must be added there (and save somebody else's day) or this is unexpected behaviour ? I would expect that the call to
chosen.rebuildResultItems
would take proper care of initializing the id's for the new items.The text was updated successfully, but these errors were encountered: