schema([ Forms\Components\Select::make('server_id') ->relationship('server', 'name') ->searchable() ->preload() ->required(), Forms\Components\TextInput::make('database_host_id') ->required() ->numeric(), Forms\Components\TextInput::make('database') ->required() ->maxLength(255), Forms\Components\TextInput::make('remote') ->required() ->maxLength(255) ->default('%'), Forms\Components\TextInput::make('username') ->required() ->maxLength(255), Forms\Components\TextInput::make('password') ->password() ->revealable() ->required(), Forms\Components\TextInput::make('max_connections') ->numeric() ->minValue(0) ->default(0), ]); } protected function getHeaderActions(): array { return [ Actions\DeleteAction::make(), ]; } }