diff --git a/packages/admin/src/Filament/Resources/ProductOptionResource/Pages/CreateProductOption.php b/packages/admin/src/Filament/Resources/ProductOptionResource/Pages/CreateProductOption.php index bde975dca9..5a480614b7 100644 --- a/packages/admin/src/Filament/Resources/ProductOptionResource/Pages/CreateProductOption.php +++ b/packages/admin/src/Filament/Resources/ProductOptionResource/Pages/CreateProductOption.php @@ -8,4 +8,11 @@ class CreateProductOption extends BaseCreateRecord { protected static string $resource = ProductOptionResource::class; + + protected function mutateFormDataBeforeCreate(array $data): array + { + $data['shared'] = true; + + return $data; + } }