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

Support custom selection type in Picker #9

Open
fwcd opened this issue Jan 23, 2024 · 0 comments
Open

Support custom selection type in Picker #9

fwcd opened this issue Jan 23, 2024 · 0 comments
Labels
enhancement New feature or request views Related to the Nuit-provided views

Comments

@fwcd
Copy link
Owner

fwcd commented Jan 23, 2024

Currently, we use Id and the views' implicitly assigned ids. It would be cool to have support for custom types similar to SwiftUI. This would probably require a HasId bound on the selection type an potentially a custom trait for enumerable types, similar to Swift's CaseIterable.

@fwcd fwcd added the enhancement New feature or request label Jan 23, 2024
@fwcd fwcd added the views Related to the Nuit-provided views label Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request views Related to the Nuit-provided views
Projects
None yet
Development

No branches or pull requests

1 participant