decentraland / decentraland/creator-hub

If there are two elements in the select with the same label, only one is shown (bug)

Open
#170 1 comment 0 reactions 0 assignees View on GitHub
3-low bug unity
Dominant language
TypeScript
Stars
7
Forks
14
Avg merge
2d 8h
Merged PRs (30d)
44

Description

### Issue

Bug: If multiple options are repeated, the select input only shows one.
Expected behavior: All options are shown, repeated.

### Test snippet:

```tsx
export const ui = () => {
return (



)
}

ReactEcsRenderer.setUiRenderer(ui)
```

https://playground.decentraland.org/?sdk-branch=refactor%2Fpointer-event&renderer-branch=feat%2Fsdk7_ui_components&code=ZXhwb3J0IGNvbnN0IHVpID0gKCkgPT4gewogIHJldHVybiAoCiAgICA8VWlFbnRpdHkKICAgICAgdWlUcmFuc2Zvcm09e3sKICAgICAgICB3aWR0aDogIjEwMCUiLAogICAgICAgIGhlaWdodDogIjMwMDBweCIsCiAgICAgICAgZmxleERpcmVjdGlvbjogWUdGbGV4RGlyZWN0aW9uLllHRkRfQ09MVU1OCiAgICAgIH19CiAgICA%2BCiAgICAgIDxEcm9wZG93biBvcHRpb25zPXtbJ1JlZCcsICdSZWQnLCAnUmVkJywgJ1JlZCddfSAvPgogICAgPC9VaUVudGl0eT4KICApCn0KClJlYWN0RWNzUmVuZGVyZXIuc2V0VWlSZW5kZXJlcih1aSkK

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.