I have been trying to pre-populate a lookup based lightning:inputField with a default value.
The code below renders a lookup field that works but I would like to be able to set a default contact in the field when it renders on the page. I have tried a lot of different ways to get this to go, but am at a loss. Any ideas?
<lightning:inputField fieldName="ContactId" aura:id="contactId"/>