Add input validation for CLIN dollars
But the validation message includes the valid number range
This commit is contained in:
parent
aa613690f5
commit
257fe648a8
@ -34,6 +34,13 @@ export default {
|
||||
unmask: ['$', ','],
|
||||
validationError: 'Please enter a dollar amount',
|
||||
},
|
||||
clinDollars: {
|
||||
mask: createNumberMask({ prefix: '$', allowDecimal: true }),
|
||||
match: /^-?\d+\.?\d*$/,
|
||||
unmask: ['$', ','],
|
||||
validationError:
|
||||
'Please enter a dollar amount between $0.00 and $1,000,000,000.00',
|
||||
},
|
||||
email: {
|
||||
mask: emailMask,
|
||||
match: /^.+@[^.].*\.[a-zA-Z]{2,10}$/,
|
||||
|
Loading…
x
Reference in New Issue
Block a user