From 680c25049f32e64d09ca5f535f5504928f6f16e6 Mon Sep 17 00:00:00 2001 From: BFLOWS Date: Mon, 20 Apr 2026 19:56:13 +0200 Subject: [PATCH] style(docs-picker): rimuovi selector righe-per-pagina, paginazione fissa a 10 Su feedback di Carlo: la scelta del page size complica l'UI senza benefit concreto per il caso d'uso (picker modale dove N doc tipicamente ~20-50). Paginator ora: FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink + counter '1-10 di N'. Righe fisse a 10. --- .../rendicontazione/components/CompanyDocumentPicker.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/rendicontazione/components/CompanyDocumentPicker.js b/src/modules/rendicontazione/components/CompanyDocumentPicker.js index 5c303da..ad134f8 100644 --- a/src/modules/rendicontazione/components/CompanyDocumentPicker.js +++ b/src/modules/rendicontazione/components/CompanyDocumentPicker.js @@ -244,8 +244,8 @@ const CompanyDocumentPicker = ({ visible, companyId, onHide, onSelect, currentSo : __('Nessun documento corrisponde ai filtri', 'gepafin')} } size="small" stripedRows - paginator rows={10} rowsPerPageOptions={[10, 25, 50]} - paginatorTemplate="FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown" + paginator rows={10} + paginatorTemplate="FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink CurrentPageReport" currentPageReportTemplate="{first}-{last} di {totalRecords}" selectionMode="single" selection={chosenDoc}