Hi Team,
I'm creating a component with dropdown value. There I've added 2 values in dropdown from that one value is always selected. But I don't want that, I just want my dropdown empty when I add component to page. So is there a way I can add placeholder text or default value other than my original values ?? Form resource type is : granite/ui/components/coral/foundation/form/select
Thanks!
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
The property called emptyText to add placeholder text, e.g.
emptyText = "Placeholder text..."
Hi @Tessa_learner1 ,
You can add a "default" option (placeholder text) and set the selected property for it, this can work as a placeholder when the dropdown is displayed.
Please check this thread for implementation details.
Hope this helps!
Regards,
Nitesh
Hi,
The property called emptyText to add placeholder text, e.g.
emptyText = "Placeholder text..."