mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-15 05:00:49 +08:00
20 lines
467 B
PHP
20 lines
467 B
PHP
<?php
|
|
|
|
namespace App\Filament\Resources\System\SectionResource\Pages;
|
|
|
|
use App\Filament\Resources\System\SectionResource;
|
|
use App\Models\SearchBox;
|
|
use Filament\Pages\Actions;
|
|
use Filament\Resources\Pages\CreateRecord;
|
|
|
|
class CreateSection extends CreateRecord
|
|
{
|
|
protected static string $resource = SectionResource::class;
|
|
|
|
protected function mutateFormDataBeforeCreate(array $data): array
|
|
{
|
|
return SearchBox::formatTaxonomyExtra($data);
|
|
}
|
|
|
|
}
|