[material-ui][Select] Does it receive different types of value? #40432
Labels
component: select
This is the name of the generic UI component, not the React module!
package: material-ui
Specific to @mui/material
support: question
Community support but can be turned into an improvement
typescript
I have a doubt about the types of the select component because it only accepts string values.
exemple:
In MenuItem, I get an error about the number value. In the documentation file select.d.ts, there is:
When I set value?: Value | '' | number, it works fine. Does this mean the select component does not support other types in Material UI? I was thinking of opening a pull request, but it's better to clear my doubt first.
Search keywords: types, select
The text was updated successfully, but these errors were encountered: