in Salesforce classic I created an object ,Equipment__c' and the field ,License plate' amongst others. We are using the object ,Equipment__c' for different types of equipment. For trucks the field ,License plant' must be mandatory. For tanks, however, it must not be visible. Therefore, the field ,License plate' is not required on database level. Rather, we created different visualforce pages and made the field mandatory in within the page.
Now we would like to move to Salesforce lightning with our application. I tried to use lightning:recordEditForm and lightning:inputField because then the fields are bound to the object's field and dependent picklists are working fine. However, we are facing two issues:
Lookup fields can be displayed but when I try to search the spinner keeps spinning within the field and nothing happens. Does anyone has an idea why this happens?