components([ TextInput::make('name') ->required() ->live(onBlur: true), TextInput::make('short_name'), TextInput::make('slug') ->required() ->hiddenOn('create') ->dehydrateStateUsing(fn (?string $state): string => Str::slug((string) $state)), TextInput::make('fifa_code'), TextInput::make('flag_url') ->url(), Toggle::make('is_active') ->required(), ]); } }