# ui.Select.setValue

<br />

Sets the selected value.

<br />

Returns this select.

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

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