I am using lightning:recordEditForm
to display records that may be new or existing. This is working nicely, however I now want to preset one of the fields. The fields are displayed using lightning:inputField
components.
I understand that this is potentially stretching lightning:recordEditForm
beyond its intended use, but since I get query & save functions OOTB I would very much like to continue using it.
So is there a way, using a secret facet or even JS to change field values after they are queried by the component? If not what's the next best thing that doesn't involve Apex?