# ClearValue()

> Clears the input field value, reverting to the default state. Placeholder text will be shown if it is set.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.UIElements](/engine/6000.5/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public void ClearValue()
```
