textField
Description
binds Rich select options to the input field by the specified keyType
string
Default value
"label"
Example
<script>
const dataset = [
{id: 1, label: "First option", email: "first@mail.com"},
{id: 2, label: "Second option", email: "second.mayour@mail.com"},
{id: 3, label: "Third option", email: "third.mayour@mail.com"}
]
</script>
<RichSelect options={dataset} textField="email" />
Related article: Configuring the text of the selected option
Related sample: RichSelect