Status
Release Available |
Status |
Framework Name |
---|---|---|
4.2 |
Current |
MUI only |
General
For the reference field and the dependent reference fields when the field type is set to "Radiobuttons", the radio button component is used to render the reference field. For example, showing the list of states as radio buttons based on the selected country.
Code JSON
{ "id": "264298f6-2590-40a7-987d-0fd5616b6644", "relationType": "reference", "fieldName": "Party_Type__c", "relationName": "Party_Type__r", "relationJson": { "tableName": "clcommon_Party_Type_c", "whereClause": { "freeForm": "id !=null" }, "sections": [ { "id": "6c0fa3d8-06e7-473b-9674-fa8cb0c74124", "fields": [ { "id": "1a3bb4bf-2c9d-461e-92fd-f2e3b02bda46", "fieldName": "Id", "fieldUi": { "fieldType": "string", "label": "Record ID" } }, { "id": "29849882-10fc-40bf-8352-d02d1ba9a4a9", "fieldName": "Name", "fieldUi": { "fieldType": "string", "label": "Party Type Name" } } ] } ] }, "fieldUi": { "fieldType": "radiobuttons", "label": "Party Type", "defaultValue": "lessee" } }