columns(2) ->components([ TextInput::make('name') ->label('Ausstattung') ->placeholder('z. B. Geschirrspüler') ->required() ->maxLength(255), Select::make('area') ->label('Bereich') ->options(AmenityArea::class) ->required(), Select::make('property_id') ->label('Wohnung') ->options(fn (): array => Property::query()->pluck('name', 'id')->all()) ->default(fn (): ?int => Property::query()->value('id')) ->required(), Toggle::make('is_highlight') ->label('Highlight (auf der Startseite hervorheben)'), ]); } }