# ui.Textbox.setValue

<br />

Sets the value of the textbox.

<br />

Returns this textbox.

| Usage | Returns |
|---|---|
| `Textbox.setValue(value, *trigger*)` | ui.Textbox |

| Argument | Type | Details |
|---|---|---|
| this: `ui.textbox` | ui.Textbox | The ui.Textbox instance. |
| `value` | String | The value of the textbox. |
| `trigger` | Boolean, optional | Whether to trigger onChange callbacks when the value property changes. Defaults to true. |