Default Value for Dynamic Dropdown
Hi,
I have created a Blox dropdown that works as expected, but I would love to see a default value of "Please make selection...". In an Input.text blox snippet, I was able to use "placeholder": "text" in my properties and it works there. According to the documentation, I should be able to use this same property in an "Input.ChoiceSet", but it doesn't seem to affect the dropdown. Has anyone had success at using a default value in the dropdown list that isn't a member of the choice list? I have made the property BOLD in the code below:
{
"title": "",
"showCarousel": true,
"carouselAnimation": {
"showButtons": false
},
"body": [
{
"type": "Container",
"width": "90%",
"style": {
"margin": "0 auto"
},
"items": [
{
"spacing": "large",
"type": "TextBlock",
"text": "Select Vertical Segment",
"weight": "light",
"color": "black"
},
{
"type": "Input.ChoiceSet",
"id": "selectVal",
"class": "",
"placeholder": "select...",
"value": "1",
"displayType": "compact",
"choices": "{choices: VerticalSegment1}"
}
]
}
],
"actions": [
{
"type": "DimVerticalSegment",
"title": "Submit"
}
]
}
-
A solution to this issue was just posted here:
https://support.sisense.com/hc/en-us/community/posts/360051447473-Blox-Dropdown-placeholder
Please sign in to leave a comment.
Comments
2 comments