Bumpyy
Default value for Settings page form
I'm using the Spatie Settings plugin but some input need to be able to be empty, the problem is that the page will display error if some input have no data, is there an easy way to save value to empty string if user input no data, other than using lifecycle hook (i'm using mutateFormDataBeforeSave, but it's a pain if the page have many form) ?
6 replies