-
How to get the selected option label of the select drop-down using templates. I am getting selected option value but not the label of the same. Please help. |
Beta Was this translation helpful? Give feedback.
Answered by
phxgbl
Apr 5, 2022
Replies: 1 comment
-
Solution I found ` { ` |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
phxgbl
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Solution I found
Either use "joinValues": false or
use autofill
code sample given below:
` {
type: 'select',
name: 'xxxx',
"autoFill": {
"select_label": "${label}",
},
},
{
"type": "alert",
"title": "Information",
"body": " ${select_label}",
"level": "info",
"className": "mb-3",
}
`