mutateFormDataBeforeFill alternative for infolist.
I want to edit some data before I display it using the new infolists, however mutateFormDataBeforeFill doesn't work, and I can't seem to find any alternative.
4 Replies
bump
Thanks a lot, I don't know how I missed that 😅
One more question, I can't seem to figure out how to access the current record model in there...
From that example you would use this->product and change its data before the return then you can pass the manipulated data into the info list methods.
It’s still just php. 🙂