From d477873017a17c3b2f6ce6e5783eaf778888c682 Mon Sep 17 00:00:00 2001 From: Martynas Bagdonas Date: Fri, 25 Oct 2024 09:41:44 +0100 Subject: [PATCH] Reduce page label max input length back to 16 characters --- src/common/components/modal-popup/label-popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/components/modal-popup/label-popup.js b/src/common/components/modal-popup/label-popup.js index f2587966..3f81a2d4 100644 --- a/src/common/components/modal-popup/label-popup.js +++ b/src/common/components/modal-popup/label-popup.js @@ -228,7 +228,7 @@ function LabelPopup({ params, onUpdateAnnotations, onClose }) { className="toolbarField" value={auto ? data.autoPageLabel : label} disabled={auto} - maxLength={32} + maxLength={16} onChange={handleChange} onKeyDown={handleInputKeydown} aria-label={intl.formatMessage({ id: "pdfReader.editPageNumber"})}