-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation
Description
Describe the bug
Can't use two list with same value, getting error of unique key.
Expected behaviour
Key should not depend on the value prop.
There should be option for custom value, label like as react select.
<Select
isDisabled={!stateId}
options={citiesArray}
classNamePrefix="select"
getOptionValue={({ id }) => id}
getOptionLabel={({ name }) => name}
theme={selectThemeColors}
className={'react-select'}
{...field}
/>Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation