Skip to content

Commit

Permalink
Merge pull request #37106 from ZhenjaHorbach/connect-bank-account-no-…
Browse files Browse the repository at this point in the history
…limit-for-entering-amount-in-transition-field

Connect Bank Account - No limit for entering amount in transition field
  • Loading branch information
NikkiWines authored Feb 23, 2024
2 parents 2ec696e + c3e9292 commit 449d011
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3112,6 +3112,8 @@ const CONST = {
*/
ADDITIONAL_ALLOWED_CHARACTERS: 20,

VALIDATION_REIMBURSEMENT_INPUT_LIMIT: 20,

REFERRAL_PROGRAM: {
CONTENT_TYPES: {
MONEY_REQUEST: 'request',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ function BankAccountValidationForm({requiresTwoFactorAuth, reimbursementAccount,
containerStyles={[styles.mb6]}
inputMode={CONST.INPUT_MODE.DECIMAL}
label={`${translate('connectBankAccountStep.validationInputLabel')} 1`}
maxLength={CONST.VALIDATION_REIMBURSEMENT_INPUT_LIMIT}
/>
<InputWrapper
InputComponent={TextInput}
Expand All @@ -121,6 +122,7 @@ function BankAccountValidationForm({requiresTwoFactorAuth, reimbursementAccount,
containerStyles={[styles.mb6]}
inputMode={CONST.INPUT_MODE.DECIMAL}
label={`${translate('connectBankAccountStep.validationInputLabel')} 2`}
maxLength={CONST.VALIDATION_REIMBURSEMENT_INPUT_LIMIT}
/>
<InputWrapper
InputComponent={TextInput}
Expand All @@ -129,6 +131,7 @@ function BankAccountValidationForm({requiresTwoFactorAuth, reimbursementAccount,
containerStyles={[styles.mb6]}
inputMode={CONST.INPUT_MODE.DECIMAL}
label={`${translate('connectBankAccountStep.validationInputLabel')} 3`}
maxLength={CONST.VALIDATION_REIMBURSEMENT_INPUT_LIMIT}
/>
</View>
{!requiresTwoFactorAuth && (
Expand Down

0 comments on commit 449d011

Please sign in to comment.