> 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/choosedocument.md).

# chooseDocument

## Details

**Attribute:** `choose-document`

**Type:** `boolean`

**Default value:** `false`

## Morphology

```typescript
selphid.chooseDocument = true;
```

## Description

Displays the document type selector integrated into `facephi-selphid-widget` before starting the capture.

If used together with [documentType](/docs.facephi-en/sdks/sdk-web/componentes/selphid-documentos/propiedades/documenttype.md) and/or [countryFilter](/docs.facephi-en/sdks/sdk-web/componentes/selphid-documentos/propiedades/countryfilter.md) it is possible to filter the available options in the component.

### Additional information

**Recommended property:** use `showDocumentSelector` in new integrations. Activates the same document type selector prior to capture.

**Precedence:** if you define `chooseDocument` and `showDocumentSelector` at the same time, takes precedence `showDocumentSelector` and a precedence warning is emitted in the console.

**Deprecation:** `chooseDocument` it remains operational in this version, but will be removed in the next major version. Use only `chooseDocument` emits a deprecation warning in the console.

***

## Example

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