columns(2) ->components([ TextInput::make('first_name') ->required() ->maxLength(255), TextInput::make('last_name') ->required() ->maxLength(255), DatePicker::make('birthdate') ->native(false) ->required(), FileUpload::make('image') ->image(), FileUpload::make('local_passport'), FileUpload::make('international_passport'), ]); } public function table(Table $table): Table { return $table ->recordTitleAttribute('last_name') ->columns([ TextColumn::make('first_name')->searchable(), TextColumn::make('last_name')->searchable(), TextColumn::make('birthdate')->date(), ]) ->filters([ // ]) ->headerActions([ CreateAction::make(), AssociateAction::make(), ]) ->recordActions([ EditAction::make(), DissociateAction::make(), DeleteAction::make(), ]) ->toolbarActions([ BulkActionGroup::make([ DissociateBulkAction::make(), DeleteBulkAction::make(), ]), ]); } }