Loading

Using "lightning-input-field" in Lightning Web Components Does Not Show the New Advanced Lookup Search Interface

Udgivelsesdato: Feb 3, 2026
Beskrivelse

In Spring '25, Salesforce introduced an updated user interface (UI) for Advanced Lookup Search.

Reference: Advanced Lookup Search Has an Updated UI

When using the "lightning-input-field" in Lightning Web Component (LWC) to render lookup fields on a record form, the new Advanced Lookup Search UI does not always appear. Whether the new or old UI is displayed depends on whether the logged-in user has the CREATE permission on the object related to the lookup field.

The two possible UI states are:

  • New Advanced Lookup Search UI (LWC): Appears when the user does NOT have CREATE permission on the related object.
  • Old Advanced Lookup Search UI (Aura): Appears when the user HAS CREATE permission on the related object.
Løsning

This behavior is working as designed.

The lightning-input-field in Lightning Web Component does not support creating new records directly from the lookup field dropdown menu. The new Advanced Lookup Search UI (LWC) also does not support inline record creation. As a result, Salesforce falls back to the older Aura-based Advanced Lookup Search UI when the logged-in user has CREATE permission on the related object — because that UI does support creating new records.

For reference, the lightning-input-field Component Reference states:

"Creating a new record from the lookup field's dropdown menu is currently not supported."

 

The conditional UI behavior is as follows:

  • If the logged-in user has CREATE permission on the related object → the old Advanced Lookup Search UI (Aura) appears.
  • If the logged-in user does not have CREATE permission on the related object → the new Advanced Lookup Search UI (LWC) appears.
Vidensartikelnummer

004141482

 
Indlæser
Salesforce Help | Article