# ui: Fix switch field info tooltip \(\#35882\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 530f5075d0c1e1084a27ab6705bfe3458c9d8e72

Requested commit: 530f5075d0c1e1084a27ab6705bfe3458c9d8e72

Commit: 530f5075d0c1e1084a27ab6705bfe3458c9d8e72

Tree: d93f5cdf1c62735be8560e3046873c9f56255dab

Author: Danilo Leal

Committer: GitHub

## Message

```
ui: Fix switch field info tooltip (#35882)

Passing an empty on_click handler so that clicking on the info icon
doesn't actually trigger the switch itself, which happens if you click
anywhere in the general switch field surface area.

Release Notes:

- N/A
```

## Parents

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

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