Repeater custom create function?

I can only seem to find docs on how to mutateRelationshipDataBeforeCreateUsing , but not a way to do the actual insert into the database ourselves, is this possible?
3 Replies
toeknee
toeknee4w ago
Can you explain what you want to do on the create that before CreateUsing won't do?
delboy1978uk
delboy1978ukOP4w ago
I suppose I can make a function in a service to prepare what I need, but heres another question then : for my file upload i use afterStateUpdated and $setto set te original file name, but that doesn't appear in the data that the mutation method gives, how can i fetch it from there? $get doesn't work because its on the repeater and not the upload field where set was used
toeknee
toeknee4w ago
So if your field is a relationship the relationship handles that, so there is no need for it to be in the dataset on the state for the form. Please provide some code and what you are trying to acheive.

Did you find this page helpful?