---
id: fast-foundation.textfield.select
title: TextField.select() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [TextField](./fast-foundation.textfield.md) &gt; [select](./fast-foundation.textfield.select.md)

## TextField.select() method

Selects all the text in the text field

<b>Signature:</b>

```typescript
protected select(): void;
```
<b>Returns:</b>

void
