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 at 17:18
0

Solution:

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.