Closed farhaanaBalaky closed 1 year ago
There is already a labelField
available in the sfpegPicklistInputDsp
component to achieve this but passing a config value for it is not implemented in the sfpegPopupDsp
parent component used to display the creation/edit popup.
I shall add a new configuration parameter ASAP and propagate it down to the picklist input component.
Feature implemented with commit b7986d9
Just add a dataLabel
property in addition to the dataSource
to specify a different label field.
FYI @jstukas
Is your feature request related to a problem? Please describe. When creating a datasource that is used in a LDS form in an sfpegAction , even when specifying the fieldname as PRM_CodePortefeuille__c in the display configuration, the name is being displayed as default on the LDS form.
Describe the solution you'd like Display other fields than name in the lookup datasource field
Additional context