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
Is there any reason why null is not treated the same way? If it's a design decision - I think it would make sense to have a way to configure this somehow.
The same situation is present in ToggleGroup, Calendar, and some other components where null is not accepted as a type while it's a pretty common situation where some values can come as null from a backend or API.
Additional information
I intend to submit a PR for this feature.
I have already implemented and/or tested this feature.
The text was updated successfully, but these errors were encountered:
Describe the feature
From what I see here, for the Select component - only
undefined
and''
is treated as an empty value - see here: https://github.com/radix-vue/radix-vue/blob/main/packages/radix-vue/src/Select/utils.tsIs there any reason why
null
is not treated the same way? If it's a design decision - I think it would make sense to have a way to configure this somehow.The same situation is present in ToggleGroup, Calendar, and some other components where null is not accepted as a type while it's a pretty common situation where some values can come as null from a backend or API.
Additional information
The text was updated successfully, but these errors were encountered: