mutateFormDataBeforeCreate not being called on create
I am using filament v4 and my category model has fields id, name and slug. I tried to make a mutateFormDataBeforeCreate function to auto set slug to the slug version of name but this method is never called. Here is my code