Skip to content

Commit

Permalink
Merge pull request #116 from Taost/fix-lookup
Browse files Browse the repository at this point in the history
Fix lookup error by adding back accountField property
  • Loading branch information
sfdctaka authored Oct 8, 2024
2 parents 7a51a47 + 38083af commit 814a6b7
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import CONTACT_PHONE_FIELD from "@salesforce/schema/Contact.Phone";
import CONTACT_EMAIL_FIELD from "@salesforce/schema/Contact.Email";
import CONTACT_MOBILE_FIELD from "@salesforce/schema/Contact.MobilePhone";
import CONTACT_OWNER_FIELD from "@salesforce/schema/Contact.OwnerId";
import CONTACT_ACCOUNT_FIELD from "@salesforce/schema/Contact.AccountId";

export default class CreateContactRecord extends LightningElement {
@api recordId;
Expand Down Expand Up @@ -33,6 +34,10 @@ export default class CreateContactRecord extends LightningElement {
return CONTACT_OWNER_FIELD;
}

get accountField() {
return CONTACT_ACCOUNT_FIELD;
}

get initialValue() {
return "";
}
Expand Down

0 comments on commit 814a6b7

Please sign in to comment.