I have created custom renderer to display a dynamic values in a multiselect picklist ui only field.
params.options.type = “CHECKBOXES”;
params.options.type = “CUSTOM”;
picklistEntries = ;
picklistEntries.push({ value: ‘0’, label: ‘AAA’, defaultValue: false, active: true });
picklistEntries.push({ value: ‘1’, label: ‘BBB’, defaultValue: false, active: true });
picklistEntries.push({ value: ‘2’, label: ‘CCC’, defaultValue: false, active: true });
params.metadata.picklistEntries = picklistEntries;
skuid.ui.fieldRenderers.MULTIPICKLIST.edit(params,value);
Now at some point if i need to access the label (AAA, BBB…) for this field, how can this be achieved as accessing the field is always returning the value.
Question
Multiselect picklist - How do we access label ?
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.