Skip to content

Commit

Permalink
fix: update number range validation error to match actual bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
ismay committed Apr 22, 2020
1 parent 4642218 commit 646f782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/forms/src/validators/createNumberRange.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const createNumberRange = (lowerBound, upperBound, customMessage) => {
const errorMessage =
customMessage ||
i18n.t(
'Please enter a number between {{lowerBound}} and {{upperBound}}',
'Number cannot be less than {{lowerBound}} or more than {{upperBound}}',
{ lowerBound, upperBound }
)

Expand Down

0 comments on commit 646f782

Please sign in to comment.