If you use the out of the box lookup field via the Page Layout in Salesforce the agents have a choice to add a contact. Now that we moved over to an LWC they no longer have that functionality. Does anyone have any idea we can allow users to add contacts via the LWC lookup component?
<lightning-input-field field-name="ContactId" required> </lightning-input-field>
it is kind of limitation in Lightning Data Service. You cannot get it. You have to rely on a custom lookup field which allows you to do so. You need to pass the selected record id during onsubmit event.