We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a56bf09 commit 697dc00Copy full SHA for 697dc00
resources/views/components/component-container.blade.php
@@ -62,8 +62,8 @@ class="filament-component-container gap-6"
62
@php
63
$data = $getChildComponentData($key);
64
65
- if ($filamentComponent instanceof \Filament\Resources\Pages\EditRecord) {
66
- $data = array_merge([
+ if ($filamentComponent instanceof \Filament\Resources\Pages\EditRecord && !isset($data['record'])) {
+ $data = array_merge($data, [
67
'record' => $filamentComponent->record?->getKey(),
68
]);
69
}
0 commit comments