[英]Custom object search in Salesforce Lightning
To create child record, I use e.force:createRecord
but when I type the name of parent record into look-up field, it shows nothing even whole name or some letter. 要创建子记录,我使用
e.force:createRecord
但是当我在查找字段中键入父记录的名称时,它甚至不显示全名或某些字母。
I want to have the functionality as standard object like contact: 我想将功能作为标准对象(如contact):
Do I need to config somewhere? 我需要在某处进行配置吗?
I believe Lightning shows only recently accessed records. 我相信闪电只会显示最近访问的记录。
To have more flexibility you might need to create a completely custom component which would include custom lookup. 为了获得更大的灵活性,您可能需要创建一个完全自定义的组件,其中将包含自定义查找。
For my case I used custom components with custom lookup with similar approaches to this post or this one 就我而言,我使用了具有自定义查找功能的自定义组件,并且具有与此帖子或这篇 文章相似的方法
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.