# settings ui: Fix dropdown menu rendering the same entries for different settings \(\#38083\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/e4b754a19fd39b4494816a7e4e0c9e2115a6a886)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: e4b754a19fd39b4494816a7e4e0c9e2115a6a886

Requested commit: e4b754a19fd39b4494816a7e4e0c9e2115a6a886

Commit: e4b754a19fd39b4494816a7e4e0c9e2115a6a886

Tree: 4b974c2f568308f3a32a7e5efe64977ddd3fa67a

Author: Anthony Eid

Committer: GitHub

## Message

```
settings ui: Fix dropdown menu rendering the same entries for different settings (#38083)

Using `window.use_state` made the element IDs match between elements,
thus causing the same menu to be shared for drop down menus. I switched
to `window.use_keyed_state` and used a value's path as it's element id

Release Notes:

- N/A
```

## Parents

- [5f20b905a56f8589f4af9d955be9447f719df012](https://git.cafe/gitcafe/zed/commit/5f20b905a56f8589f4af9d955be9447f719df012?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/e4b754a19fd39b4494816a7e4e0c9e2115a6a886?format=markdown)
