schema([ Forms\Components\TextInput::make('country_id'), Forms\Components\TextInput::make('name') ->required() ->maxLength(255), Forms\Components\TextInput::make('username') ->maxLength(255), Forms\Components\TextInput::make('email') ->email() ->required() ->maxLength(255), Forms\Components\DateTimePicker::make('email_verified_at'), Forms\Components\TextInput::make('password') ->password() ->maxLength(255), Forms\Components\DateTimePicker::make('two_factor_confirmed_at'), Forms\Components\TextInput::make('current_team_id'), Forms\Components\Textarea::make('two_factor_recovery_codes') ->maxLength(65535), Forms\Components\Textarea::make('profile_photo_path') ->maxLength(65535), Forms\Components\Textarea::make('two_factor_secret') ->maxLength(65535), Forms\Components\DateTimePicker::make('confirmed_at'), ]); } public static function table(Table $table): Table { return $table ->columns([ Tables\Columns\TextColumn::make('name') ->sortable(true) ->searchable(true), Tables\Columns\TextColumn::make('username'), Tables\Columns\TextColumn::make('email'), Tables\Columns\TextColumn::make('country.name'), Tables\Columns\TextColumn::make('created_at') ->label('Joined')->sortable(true)->since(), ]) ->filters([ // ]) ->actions([ Tables\Actions\ViewAction::make(), Tables\Actions\EditAction::make(), ]) ->bulkActions([ Tables\Actions\DeleteBulkAction::make(), ]); } public static function getRelations(): array { return [ // ]; } public static function getPages(): array { return [ 'index' => Pages\ListUsers::route('/'), 'dashboard' => Pages\UserDash::route('/dashboard'), 'create' => Pages\CreateUser::route('/create'), 'view' => Pages\ViewUser::route('/{record}'), 'edit' => Pages\EditUser::route('/{record}/edit'), ]; } }