placeholder
Description
sets a placeholder for the text fieldType
string
Default
"Click to select"
Example
<script>
const dataset = [
{id:1, name:"First option"},
{id:2, name:"Second option"},
{id:3, name:"Third option"}
]
</script>
<RichSelect options={dataset} placeholder="Select an option"/>
Details
For a placeholder to be visible in the input, a rich select should be initialized without the initial value specified.
Related article: Adding a placeholder for the text field