How to access the current data in edit page?
How can i get the current state of a data in edit page to be manipulated using mutateFormDataBeforeFill, i saw the below code on documentation but instead of auth()->id() i want to query data
protected function mutateFormDataBeforeFill(array $data): array
{
$data['user_id'] = auth()->id();
return $data;
}