value
Description
sets the value of a selectType
string|number
Example
<script>
const dataset = [
{id: 1, label: "First option"},
{id: 2, label: "Second option"},
{id: 3, label: "Third option"}
]
</script>
<Select options={dataset} value={1} />
Related article: Setting the value
Related sample: Select