Multi-picklist Field rendered as checkboxes
Introduced a new field type as multiSelectCheckboxes
that can render a multi-picklist data type field as check boxes on Portal.
Note:
The filter also supports the Multi-picklist field as a checkbox functionality.
Code JSON
Copy
"fieldUi": {
"fieldType": "multiSelectCheckboxes",
"label": "Select Countries",
"selectOptions": [{
"id": "India",
"active": true,
"defaultOption": false,
"optionText": "India",
"optionValue": "India" },{
"id": "USA",
"active": true,
"defaultOption": false,
"optionText": "USA",
"optionValue": "USA" } …... ]
Status
Release Available | Status | Framework Name |
---|---|---|
3.9 | Current | MUI only |
Controlling the number of columns to render the options
By using the below configuration in the actor appearance section, we can configure the number of columns needed to render the options. For example, in the below configuration, we are showing the options in three columns.
Code JSON
Copy
"grid": {
"field": {
"multiPicklistCheckboxes__c": {
"selectCheckbox": {
"sm": 4,
"xs": 12
}
}
}
},