I have a custom field renderer on a reference field like this:
field.options.template = '{{Patient_Case__r.Patient__r.Name}} exam on {{Timeless_Date__c}}';<br>skuid.ui.fieldRenderers[field.metadata.displaytype][field.mode](field,value);
My search popup has only the Id field.
If I add searchFields to the renderer, like so:
field.options.searchFields = [ {id: 'Id'},<br> {id: 'Timeless_Date__c'},<br> {id: 'Patient_Case__r.Patient__r.Name'}<br> ];
Nothing changes.
If I add returnFields like so:
field.options.returnFields = [<br> {id: 'Id'},<br> {id: 'Timeless_Date__c'},<br> {id: 'Patient_Case__r.Patient__r.Name'}<br> ];
Then my search popup doesn’t show any fields at all.
Help?