label
Description
binds Select options to the input field by the specified keyType
string
Default
"label"
Example
<script>
const dataset = [
{id: 1, name: "First option"},
{id: 2, name: "Second option"},
{id: 3, name: "Third option"}
]
</script>
<Select options={users} label="name" />
Related article: Configuring the text of the selected option
Related sample: Select