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

# countryFilter

## Details

**Attribute:** `country-filter`

**Type:** `string` | `string[]`

**Default value:** `null`

## Morphology

```typescript
selphid.countryFilter = '';
```

## Description

List of allowed countries (ISO-3166 alpha-2) to filter engines and rules in `facephi-selphid-widget`.

### Considerations

Accepts an ISO-2 string or an array of codes.

### Additional information

**Compatibility:** Replaces `specificdata` and `country` in earlier versions of SDK Web.

**Recommended property:** use `enabledCountries` in new integrations.

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

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

***

## Example

```jsx
<facephi-selphid-widget
    countryFilter={['ES']}
/>
```
