Select support options/data prop
See original GitHub issue- I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
To improve the perf of Select, we may add virtual list to handle this.
Let’s add options
or data
like treeData
in TreeSelect.
What does the proposed API look like?
<Select options={[]} />
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
API - React Select
A flexible and beautiful Select Input control for ReactJS with multiselect, autocomplete and ajax support.
Read more >Using props data for a select field - reactjs
I want to replace "Pick a user" in FormOne with a list of the users from props.data . The idea is to select...
Read more ><select>: The HTML Select element - HTML - MDN Web Docs
Each <option> element should have a value attribute containing the data value to submit to the server when that option is selected.
Read more >Introduction to data types and field properties
A field's data type can be predefined or you will select a data type depending on ... for each data type and explain...
Read more >Select API - Material UI
Name Type Default
autoWidth bool false
children node
classes object
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Supported in v4 now: https://ant.design/components/select/#components-select-demo-big-data