Skip to content

Commit

Permalink
Merge pull request #8856 from izhan/izhan-limit-reimburse-digits-2
Browse files Browse the repository at this point in the history
Limit max digit for rates in Reimburse to be 8 digits - Signed Commit
  • Loading branch information
pecanoro authored May 3, 2022
2 parents 4365203 + b2dea50 commit 7feb4b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CONST.js
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ const CONST = {
CARD_SECURITY_CODE: /^[0-9]{3,4}$/,
CARD_EXPIRATION_DATE: /^(0[1-9]|1[0-2])([^0-9])?([0-9]{4}|([0-9]{2}))$/,
PAYPAL_ME_USERNAME: /^[a-zA-Z0-9]+$/,
RATE_VALUE: /^\d+(\.\d*)?$/,
RATE_VALUE: /^\d{1,8}(\.\d*)?$/,

// Adapted from: https://gist.github.com/dperini/729294
// eslint-disable-next-line max-len
Expand Down

0 comments on commit 7feb4b1

Please sign in to comment.