We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug yup-phone is not working with this current version
getting: TypeError: yup__WEBPACK_IMPORTED_MODULE_5__.string(...).phone is not a function
To Reproduce Try to validate phone number with yup-phone
const validate = Yup.object({ phone: Yup.string() .phone("IN") .required('Enter your valid mobile number.'), })
NOTE: if you do not provide a runnable reproduction the chances of getting feedback are significantly lower
Expected behavior Should validate the phone input field
Platform (please complete the following information):
Additional context
"next": "13.4.9", "react": "18.2.0", "react-dom": "18.2.0", "formik": "^2.4.2", "yup": "^1.2.0", "yup-phone": "^1.3.2"
The text was updated successfully, but these errors were encountered:
Presumably a bug in yup-phone rather than yup... likely the same as abhisekp/yup-phone#822.
yup-phone
yup
Sorry, something went wrong.
Yeah, I don't maintain yup-phone and can't really fix it
any news here or possible workarounds?
No branches or pull requests
Describe the bug
yup-phone is not working with this current version
getting: TypeError: yup__WEBPACK_IMPORTED_MODULE_5__.string(...).phone is not a function
To Reproduce
Try to validate phone number with yup-phone
const validate = Yup.object({
phone: Yup.string()
.phone("IN")
.required('Enter your valid mobile number.'),
})
Expected behavior
Should validate the phone input field
Platform (please complete the following information):
Additional context
"next": "13.4.9",
"react": "18.2.0",
"react-dom": "18.2.0",
"formik": "^2.4.2",
"yup": "^1.2.0",
"yup-phone": "^1.3.2"
The text was updated successfully, but these errors were encountered: