# ClearTextField()

> Removes the text when clearing the field.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.UIElements](/engine/6000.7/script-reference/unityeditor/uielements.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
protected override void ClearTextField()
```
