Dehydrating fields not working.

I have a repeater with fields inside. The data in the repeater field will be mutated before saving to the database. However, when I try saving the form, I get an error about the dehydrated fields which are only presentational. Please see snippet below:

Repeater::make('activities')
                    ->schema([
                        TextInput::make('day')->numeric()->required()->unique()->dehydrated(false),
                        TagsInput::make('activity')->required()->hint('press enter to add new')->dehydrated(false),
                    ])
                ->label('Daily activities')
                    ->dehydrated(false),

I only need the data in here so I can mutate the data object before saving to the database. Thank you very much!
Was this page helpful?