diff --git a/src/CONST.js b/src/CONST.js index 8b63cbf28fe8..b99662f24dd2 100755 --- a/src/CONST.js +++ b/src/CONST.js @@ -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