I created a lightning component with lightning:recordEditForm and lightning:inputField to create a new record.
I have another field which I don't want it to be in the form but I want to populate it.
I didn't find a way to do this without put it in the form and use "slds-hidden" but that makes a gap in the UI.
Does someone know what to do in that case ? I mean, is there a better way to hide the field ? Or maybe a solution to "remove" the gap ?