fwcd / fwcd/nuit

Support custom selection type in `Picker`

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
enhancement views
Dominant language
Rust
Stars
80
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Currently, we use `Id` and the views' implicitly assigned ids. It would be cool to have support for custom types [similar to SwiftUI](https://developer.apple.com/documentation/swiftui/picker). This would probably require a `HasId` bound on the selection type an potentially a custom trait for enumerable types, similar to Swift's `CaseIterable`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.