We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b07d4ef commit 035eb3dCopy full SHA for 035eb3d
app/Filament/Resources/Users/Pages/EditUser.php
@@ -37,6 +37,7 @@ protected function mutateFormDataBeforeFill(array $data): array
37
{
38
$data['name'] = $this->record->name;
39
$data['email'] = $this->record->email;
40
+ $data['transfer_time'] = $this->record->transfer_time / 60;
41
42
return $data;
43
}
@@ -49,6 +50,8 @@ protected function mutateFormDataBeforeSave(array $data): array
49
50
unset($data['password']);
51
52
53
+ $data['transfer_time'] *= 60;
54
+
55
56
57
0 commit comments