You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Other examples of when the views in a picker's ForEach need an explicit tag modifier include when you:
Select over the cases of an enumeration that conforms to the Identifiable protocol by using anything besides Self as the id parameter type. For example, a string enumeration might use the case's rawValue string as the id. That identifier type doesn't match the selection type, which is the type of the enumeration itself.
Use an optional value for the selection input parameter. For that to work, you need to explicitly cast the tag modifier's input as Optional to match. For an example of this, see tag.
The text was updated successfully, but these errors were encountered:
borisovodov
changed the title
Write in readme about limitations and caveats
Write in readme about limitations and caveats: refusal of tags
May 7, 2024
In SwiftUI
Picker
description:The text was updated successfully, but these errors were encountered: