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

Named objects cannot be passed as selected to update*Input() functions #170

Closed
nteetor opened this issue Oct 3, 2019 · 0 comments
Closed
Labels

Comments

@nteetor
Copy link
Owner

nteetor commented Oct 3, 2019

The update input functions will convert a named list or vector into a json object instead of an array. On the javascript side there is no .indexOf method for objects. So, if selected is a named object there is no error on the server-side, but there is an error on the client-side.

The simplest solution is to drop any names from the selected values. The coerce_selected() helper would be updated.

@nteetor nteetor added the bug label Oct 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant