How can i save array keys after modify?
If i dump method
mutateFormDataBeforeFill
i get array what i needed (see first dump screen). But if i dump mutateFormDataBeforeSave
original array keys is missing(see second dump screen). I use repeater in form to modify that data:
How can i save original array keys?1 Reply
I use for map array in
beforeSave
method. It works as expected and solve my problem. But I think there must be a better solution.