feat(widget-number): add range validation (#2049)
This commit is contained in:
committed by
Shawn Erquhart
parent
2d1d1c13df
commit
dc44caca20
@ -39,6 +39,9 @@ export function getPhrases() {
|
||||
required: '%{fieldLabel} is required.',
|
||||
regexPattern: "%{fieldLabel} didn't match the pattern: %{pattern}.",
|
||||
processing: '%{fieldLabel} is processing.',
|
||||
range: '%{fieldLabel} must be between %{minValue} and %{maxValue}.',
|
||||
min: '%{fieldLabel} must be at least %{minValue}.',
|
||||
max: '%{fieldLabel} must be %{maxValue} or less.',
|
||||
},
|
||||
},
|
||||
editor: {
|
||||
|
@ -1,5 +1,6 @@
|
||||
export default {
|
||||
PRESENCE: 'PRESENCE',
|
||||
PATTERN: 'PATTERN',
|
||||
RANGE: 'RANGE',
|
||||
CUSTOM: 'CUSTOM',
|
||||
};
|
||||
|
Reference in New Issue
Block a user