From 5a5f6133d14f5a2ffc37992e69c95f2d62c38d20 Mon Sep 17 00:00:00 2001 From: Hans Date: Fri, 22 Sep 2023 10:19:54 +0700 Subject: [PATCH] add maxlength for private notes --- src/pages/PrivateNotes/PrivateNotesEditPage.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/PrivateNotes/PrivateNotesEditPage.js b/src/pages/PrivateNotes/PrivateNotesEditPage.js index 206e9e74d91f..15bf6e7f555e 100644 --- a/src/pages/PrivateNotes/PrivateNotesEditPage.js +++ b/src/pages/PrivateNotes/PrivateNotesEditPage.js @@ -120,6 +120,7 @@ function PrivateNotesEditPage({route, personalDetailsList, session, report}) { label={translate('privateNotes.composerLabel')} accessibilityLabel={translate('privateNotes.title')} autoCompleteType="off" + maxLength={CONST.MAX_COMMENT_LENGTH} autoCorrect={false} autoGrowHeight textAlignVertical="top"