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
In registration page, I'm using:
import * as Yup from "yup"; import "yup-phone";
Then setting RegistrationSchema as follows:
const RegistrationSchema = Yup.object().shape({ first_name: Yup.string() .required(), last_name: Yup.string() .required(), email: Yup.string() .email("Wrong email format") .required(), phone: Yup.string() .phone() .required() });
But getting this error:
TypeError: yup__WEBPACK_IMPORTED_MODULE_4__.string(...).phone is not a function
I'm working on a new admin theme and fairly new to this. Kindly advice.
Thanks
EDIT: Nevermind, the new version 1.2.4 resolved it 👍
The text was updated successfully, but these errors were encountered:
The same problem affects me as well. Is this problem connected to the Yup version?
Sorry, something went wrong.
No branches or pull requests
In registration page, I'm using:
Then setting RegistrationSchema as follows:
But getting this error:
TypeError: yup__WEBPACK_IMPORTED_MODULE_4__.string(...).phone is not a function
I'm working on a new admin theme and fairly new to this. Kindly advice.
Thanks
EDIT: Nevermind, the new version 1.2.4 resolved it 👍
The text was updated successfully, but these errors were encountered: