I am unable to search for lookup objects using lightning:recordEditForm
:
<lightning:recordEditForm objectApiName="Contact">
<lightning:inputField fieldName="Name" />
<lightning:inputField fieldName="Phone"/>
<lightning:inputField fieldName="Email" />
<lightning:inputField fieldName="AccountId" />
</lightning:recordEditForm>
As you can see in the attached image that spinner is continuously loading and I'm unable to search for existing account.
My component is embedded in visualforce page, so that I can use this in lightning and classic both. But unable to fetch lookup records. Is there any workaround for this.