0

I'm using lightning-output-field to output some of my record's field.

It is known that if a field's type is lookup, the component of the field input will have a placeHolder which says 'Searching objectName...'

But I meet a issue that some of the fileds will not show the name of the Object, instead it will show 'Searching undefined...' Other lookup fields will show properly, however. I can not tell what's the difference between these fields.

// this one shows properly
<lightning-input-field variant="standard" disabled field-name="RF_PROPERLY__c">
</lightning-input-field>

// this one shows undefined. The code is the same.
<lightning-input-field variant="standard" disabled field-name="RF_UNDIFINED__c">
</lightning-input-field>

enter image description here

1
  • what is the plural label of that object (that shows undefined)? Jul 19, 2021 at 17:18

1 Answer 1

0

Solution:

In the page layout of the object, drag the specific field to the info area, problem solved.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .