I'm having trouble using the new lightning:recordForm component. Here is my code :
<aura:attribute
name="fieldsArray"
type="String[]"
default="['Name','Email','Phone','AccountId']"
/>
<lightning:recordForm
aura:id="recordForm"
objectApiName="Account"
fields="{!v.fieldsArray}"
columns="2"
mode="edit"
onsubmit="{!c.handleSubmit}"
/>
There is no fields displayed. Only the buttons Cancel and Save.
I've tried to use that in an application and in a component of the utility bar. No success...
Any ideas ? Thanks !