Skip to main content

I've recently implemented Lightning Record Picker in a custom Create/Edit form. First of all, thanks for the great out-of-the-box search features such as searching on formula fields. I have however noticed that two things don't work as promised in the documentation:

 

- The primaryField on displayInfo can not be changed from the Name field. There are no errors, but no matter what other field I specify as the the primaryField, Name still shows as the primaryField.

 

- The filterLogic behaves somewhat strangely: '(2 OR 3) AND 1' does what it should, but '1 AND (2 OR 3)' doesn't. It then seems to be seen as '1 AND (2 OR 3)'. If you don't start with the OR condition, the filterLogic doesn't work correctly.

 

Also, at the moment the magnifying glass icon doesn't seem to do much. In the future, it would be great if it could show something like the complete list or recent records when clicking on the magnifying glass.

 

Thanks again very much for the great new component!

#Lightning-record-picker

1 comentario
  1. 9 abr 2024, 09:05

    Hi @Steven Van Gils,

    Thanks for sharing your feedbacks, happy to read this component is useful :)

    Could you confirm us in which release you faced those issues?

    Both should be fixed in the Spring '24 release:

    - Primary Display Field

    In Winter '24 the primary display field was not configurable and the Name field was used.

    In Spring '24, the capability to configure it has been added, you should be able to configure another field.

     

    - filterLogic issue

    This issue was identified and has been fixed in Spring '24 as well.

     

    About the 2 new features you mention: 

    - Support of MRUs (Most Recently Used) records in the record picker suggestions,

    - Support of an Advanced Search ("Show more result") action to help having more results and more details on records.

     

    We identified them but unfortunately there are not prioritized in the roadmap today. Your feedback is very valuable and will help us.

0/9000