简体   繁体   中英

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. 在此处输入图片说明

I want to have the functionality as standard object like 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM