> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/sdk-web/componentes/selphid-documentos/propiedades/disableexit.md).

# disableExit

## Details

**Attribute:** `disable-exit`

**Type:** `boolean`

**Default value:** `false`

## Morphology

```typescript
selphid.disableExit = true;
```

## Description

Hides the close control in the component interface `facephi-selphid-widget`, forcing the Flow to be completed via API or events.

### Additional information

**Recommended property:** use `showExitButton` in new integrations (**inverse logic**: `showExitButton = true` is equivalent to `disableExit = false`).

**Precedence:** if you define `disableExit` and `showExitButton` at the same time, wins `showExitButton` wins and a precedence warning is emitted in the console.

**Deprecation:** `disableExit` is still operational in this Version, but will be removed in the next major version. Use only `disableExit` issues a deprecation warning in the console.

***

## Example

```jsx
<facephi-selphid-widget
    disableExit={true}
/>
```
