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

Feat: allow Select to accept value, label pairs #186

Open
mangecoeur opened this issue Jun 30, 2023 · 1 comment
Open

Feat: allow Select to accept value, label pairs #186

mangecoeur opened this issue Jun 30, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@mangecoeur
Copy link

Ipywidgets Select allows to provide (value, label) pairs instead of just label, which is quite useful for selecting keyed data. Vue instead allows to provide a list[dict] and item_name, item_value keys to use from that dict. it would be nice to support one of these (maybe ipywidgets one is most practical)

@maartenbreddels maartenbreddels added the enhancement New feature or request label Jun 30, 2023
@maartenbreddels
Copy link
Contributor

Yes I agree. Like ipywidgets, we should also allow the value to be a Python value (so the only information that goes to the frontend is an index).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
2 participants