I solved this problem by replacing yup.integer() with yup.string()
phoneno: yup.number().required().integer().min(11),