Dependent Picklist
Status
Release Available | Status | Framework Name |
---|---|---|
2.10 | Current | TBC |
General
Option values in the picklist can be conditionally rendered. It works for picklist, radio buttons, multiValueIndicator, and enhancedPicklist (Mint only)
Options without optionRender appear by default
Default Value
"optionText": "Agriculture", "optionValue": "Agriculture",
"optionRender": "$this.attr(Rating); == \"Cold\""
Code JSON
Copy
"fieldType": "picklist", "label": "Industry",
"selectOptions": [{
"optionText": "Agriculture", "optionValue": "Agriculture",
"optionRender": "$this.attr(Rating); == \"Cold\""}, {
"optionText": "Construction", "optionValue": "Construction",
"optionRender": "$this.attr(Rating); == \"Warm\""}, {
"optionText": "Other", "optionValue": "Other"}]