# clear-button-visibility

### `clear-button-visibility`

{% hint style="info" %}
**Version compatibility**

`clear-button-visibility` was introduced in version **4.89.0** of the JourneyApps Runtime.
{% endhint %}

**Optional**

**Type**: `active` | `always` | `hidden` | `hover`

**Default**: `always` for input components, and `hover` for `edit-` cells in `object-tables`. On mobile, `hover` works the same as `active`.

Configure when a clear button appears in the input component or cell if it has a value.

```xml
<text-input clear-button-visibility="active" bind="first_name" label="First name" />
```

<figure><img src="https://2865107717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9TCHLR67eLHBOjPvHhud%2Fuploads%2F1lMSWYFEwSvouYVx1z7I%2FScreenshot%202023-08-17%20at%209.10.41%20AM.png?alt=media&#x26;token=6adeba7e-34a8-4f62-ac6f-eea508635fc6" alt=""><figcaption></figcaption></figure>
