CreateRecord equivalency for EditRecord - mutateFormDataBeforeFill
In the
So how to do it in the
I want to do the same, mutate
EditRecord i use the mutateFormDataBeforeFill:So how to do it in the
CreateRecord? I've tried to find a similar method, but im not lucky so far I want to do the same, mutate
$data, so it contains 'test' with a valueSolution
So you want a field to be prefilled when you are on the CreatePage? If so you would use the
For example
Or what exactly is it that you are trying to achieve?
->default() for the given field.For example
TextInput::make('dummy')->default('foo')Or what exactly is it that you are trying to achieve?