Custom Components: Filter for autocomplete property? How can I filter the rows that are returned to an autocomplete property field in my custom component?I have this:
{<br>&nbsp; &nbsp; id: "sid",<br>&nbsp; &nbsp; type : 'autocomplete',<br>&nbsp; &nbsp; sobject : 'Signature_Type__c',<br>&nbsp; &nbsp; fieldsToReturn : ['Name','Title__c', 'Active__c','Id'],<br>&nbsp; &nbsp; fieldsToSearch : ['Name', 'Title__c'],<br>&nbsp; &nbsp; displayTemplate : '{{Name}} ({{Title__c}})',<br>&nbsp; &nbsp; valueTemplates : {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'sid' : '{{Id}}',<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'name' : '{{Name}}'<br>&nbsp; &nbsp; },<br>&nbsp; &nbsp; order : 'Name',<br>&nbsp; &nbsp; label : 'Signature Type (autocomplete)',<br>&nbsp; &nbsp; required : true,<br>&nbsp; &nbsp; helptext : 'Begin typin