docs: Update nest-messages.md (#27620)

Fixed grammatical errors.
This commit is contained in:
Muhammad Sameer 2020-11-06 10:49:30 -08:00 committed by GitHub
parent 684248c52a
commit 87dfa411bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,8 +24,8 @@ const layout = {
const validateMessages = {
required: '${label} is required!',
types: {
email: '${label} is not validate email!',
number: '${label} is not a validate number!',
email: '${label} is not a valid email!',
number: '${label} is not a valid number!',
},
number: {
range: '${label} must be between ${min} and ${max}',