Skip to content

[BUG] Key issue #204

@imdkbj

Description

@imdkbj

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 workingdocumentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions