-
Notifications
You must be signed in to change notification settings - Fork 66
Closed
Description
When using a select element that has Multiple true property, React forces us to pass a string array as Value, however this prop is currently typed as Value of string, which makes unboxing a needed (after the dev discover the error at runtime).
We have two solutions to fix this:
- Make it
objas we have done for other items, I assume the runtime will automatically transform things as numbers to string, but it may not be the format they expect. - Make it
U2<string, string[]>, which will break a lot of code forcing devs to add!^everywhere.
What do you think? @MangelMaxime @nojaf
Metadata
Metadata
Assignees
Labels
No labels