<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`FileOption`](FileOption)
## FileOption interface
A text input allowing selection of a file from in the vault.
1.10.2
**Signature:**
```typescript
export interface FileOption extends BaseOption
```
**Extends:** [`BaseOption`](BaseOption)
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [`default?`](FileOption/default) | | <code>string</code> | _(Optional)_ 1.10.2 |
| [`displayName`](BaseOption/displayName) | | <code>string</code> | <p> 1.10.0</p><p>(Inherited from [BaseOption](BaseOption)<!-- -->)</p> |
| [`filter?`](FileOption/filter) | | <code>(file: </code>[`TFile`](TFile)<code>) => boolean</code> | _(Optional)_ 1.10.2 |
| [`key`](BaseOption/key) | | <code>string</code> | <p> 1.10.0</p><p>(Inherited from [BaseOption](BaseOption)<!-- -->)</p> |
| [`placeholder?`](FileOption/placeholder) | | <code>string</code> | _(Optional)_ 1.10.2 |
| [`shouldHide?`](BaseOption/shouldHide) | | <code>(config: </code>[`BasesViewConfig`](BasesViewConfig)<code>) => boolean</code> | <p>_(Optional)_ If provided, the option will be hidden if the function returns true.</p><p> 1.10.2</p><p>(Inherited from [BaseOption](BaseOption)<!-- -->)</p> |
| [`type`](FileOption/type) | | <code>'file'</code> | 1.10.2 |