# ui: Add fixes to the \`NumberField\` edit mode \(\#45871\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 0c7d639cbd448b210b1108890a02f532e6329eae

Requested commit: 0c7d639cbd448b210b1108890a02f532e6329eae

Commit: 0c7d639cbd448b210b1108890a02f532e6329eae

Tree: f1dc3dbaf3ea895c008ba53e745f0df56d34553c

Author: Danilo Leal

Committer: GitHub

## Message

```
ui: Add fixes to the `NumberField` edit mode (#45871)

Follow up to https://github.com/zed-industries/zed/pull/45447 and in
preparation to enable the edit mode in number field instances within the
settings UI. This PR fixes the editor in the number field capturing
focus automatically (unnecessary), tab index in the buttons and editor,
and other things.

Release Notes:

- N/A
```

## Parents

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

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