How to remove item key from repeater on save to json
Hi, I have a piece of code that is like this, the goal is to pass it into https://github.com/kylekatarnls/business-time
However when I save it, it save as something like this in my json column
But what I want is more of something like this
Usage of the Schedule class of the business-time package is like this, hence i want to remove the time_range key
GitHub
GitHub - kylekatarnls/business-time: Carbon mixin to handle busines...
Carbon mixin to handle business days and opening hours - GitHub - kylekatarnls/business-time: Carbon mixin to handle business days and opening hours
3 Replies
if youre using the admin panel, use mutateFormDataBeforeSave() etc
what about when retrieving?
theres a similar method, read the docs