Blox Dropdown placeholder
By default, BloX will use the first element in your dropdown as the default text in the dropdown box.
Instead of this value, the following method adds a different default nonselectable value.
Steps for Implementation
- add the addPlaceholder class to your Input.ChoiceSet
-
Add the following script to the script of your BloX widget
$('.addPlaceholder').prepend('<option value=\"\" disabled selected>Select Filter</option>')
You can update the text "Select Filter" in the script above to customize the placeholder text.
Cheers!
Please sign in to leave a comment.
Comments
0 comments