Skip to content

Commit

Permalink
add maxlength for private notes
Browse files Browse the repository at this point in the history
  • Loading branch information
hungvu193 committed Sep 22, 2023
1 parent 9ab20c5 commit 5a5f613
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/PrivateNotes/PrivateNotesEditPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5a5f613

Please sign in to comment.