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

Python spec for picker/select/dropdown #231

Closed
Tracked by #200
mofojed opened this issue Jan 29, 2024 · 0 comments · Fixed by #247
Closed
Tracked by #200

Python spec for picker/select/dropdown #231

mofojed opened this issue Jan 29, 2024 · 0 comments · Fixed by #247
Assignees

Comments

@mofojed
Copy link
Member

mofojed commented Jan 29, 2024

No description provided.

@mofojed mofojed mentioned this issue Jan 29, 2024
6 tasks
@mofojed mofojed changed the title Spec for picker/select/dropdown Python spec for picker/select/dropdown Jan 29, 2024
@jnumainville jnumainville self-assigned this Jan 31, 2024
jnumainville added a commit that referenced this issue Feb 22, 2024
Fixes #231 

Looking at [the picker
docs](https://react-spectrum.adobe.com/react-spectrum/Picker.html), it
looks like generally the expected behavior is to pass `Item` objects in.
I don't think this should be necessary in python (but will need to be
wrapped), but should be a possibility if advanced behavior is desired,
such as [complex
items](https://react-spectrum.adobe.com/react-spectrum/Picker.html#complex-items),
which I think would be very powerful, so I have a `ui.item` element.

There is also `Section` objects that can contain `Item` objects, so
we'll need a `ui.section` element as well.

The above would be wrapped in the `ui.picker` object itself.
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

Successfully merging a pull request may close this issue.

2 participants