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

It is possible to set a (multi-)chooser's selected-item(s) to a non-available value #142

Open
nicolaspayette opened this issue Dec 10, 2014 · 0 comments
Assignees
Labels

Comments

@nicolaspayette
Copy link
Member

This is non-trivial to prevent, as no property validation is currently done before writing to the property map.

Perhaps it would be sufficient for the moment to make sure that no misleading visual feedback is provided in the widgets themselves. E.g., when doing:

xw:create-chooser "chooser" [
  xw:set-items ["a" "b" "c"]
  xw:set-selected-item "d"
]

The chooser still shows "c", even though xw:get "chooser" would report "d".

@nicolaspayette nicolaspayette self-assigned this Dec 10, 2014
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