# ClearTextField()

> Method used when clearing the text field. You should usually clear the value when overriding the method.

## Definition

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

```csharp
protected abstract void ClearTextField()
```
