# assistant2: Disable the Submit button when missing requirements \(\#23598\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ad63bdf65bfd56a5e20e20b4ec47555646bf22a3

Requested commit: ad63bdf65bfd56a5e20e20b4ec47555646bf22a3

Commit: ad63bdf65bfd56a5e20e20b4ec47555646bf22a3

Tree: 6a9278ce8f53d7700f1e214b90e5fb82a3bfe4f7

Author: Danilo Leal

Committer: GitHub

## Message

```
assistant2: Disable the Submit button when missing requirements (#23598)

This PR disables the Assistant 2 Submit button when either there is no
message written in the editor or there's no model selected. To guide the
user, there will be a tooltip displayed on top of the button to indicate
what to do.

Release Notes:

- N/A
```

## Parents

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

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