Post

Replies

Boosts

Views

Activity

Comment on Picker selection not changing
Yeah sadly you can't use an Optional value with a Picker in the same simple way you can normally do for Enum types. Instead, you need must tag each item casted as an Optional value. Here's an example from this SO answer to the question: Picker for optional data type in SwiftUI?
Jan ’24