Комментарии:
An easier way to get data from the form is like this
const onSubmit = (e: any) => {
e.preventDefault()
const formData = new FormData(e.currentTarget)
const data = Object.fromEntries(formData)
}
Very well put. Simple and clear. Thanks
ОтветитьHi i have been trying to wrap my mind around yup validation for patch request where all required fields in the yup schema is not present in the request body? What your suggestion?
Ответитьwell well well
nice!
Issue is formik cannot have nested forms
Ответитьyou are the best.
ОтветитьNice tutorial but Where is the video for formik and yup?
Ответитьthank you! really helpful video
ОтветитьFinally a video which talks about YUP, no more, no less. And especially not some form library I don't care about
ОтветитьHey pedro, how can you display custom error messages using this?
ОтветитьI was watching the video when you put "Machado" in the email I knew you were Brazilian lol
Ответить{2022-11-14}
Ответитьthat was a good one, straight and clear, thanks
ОтветитьValeu demais!! Estava morrendo tentando validar o email por REGEX. Me salvou!! Valeu demais!!
Ответитьwenardo el tutorial +1000
Ответитьconst validationForm = Yup.object().shape({
DateTime:Yup.date().required('Date and time is required')
});
<DateTimePicker {...register('DateTime')}/>
Even after selecting the date and time it is showing required.
Hi Thanks for the class. I have a problem with Formik and YUP, someone know how can I send a request to validate an email to the user email, and even this logic is possible to use when the user forget the passwoard? Thanks!
ОтветитьExplained very well, only thing is: How I can show error indication or messages?
ОтветитьCool ending music, but I couldn't find the top right corner video
ОтветитьHow to make 1 character upper case in validation
Ответитьhow can i see the error messages?
ОтветитьWell explained, Thank you 😊
Ответитьcan you create multiple/dynamic field validation. that would help us a lot too
like where you click a button then new textfield is added. then you validate it too
great
ОтветитьCan we validate input type="file" with yup?
Ответитьnice!
ОтветитьThanks man, this is great!
Ответитьwhere are the custom messages when an error occur you didn't show anything in this video
ОтветитьYub used for FE or BE?
ОтветитьWooooooooooooooooooooooooooooooow! Great video pedro, this helped me so much! I appreciate your kind help sir
ОтветитьDonth you think that useForm is better?)
Ответитьquick and to the point, thanks
ОтветитьNever seen 5K changes in git before. LOL
ОтветитьThats way easier than Regex, thanks man
ОтветитьGood job!
ОтветитьCara é incrivel, eu consegui treinar o meu ingles e fazer a validação, você é foda!
ОтветитьHeya, would u mind sharing what VSC theme u're using? Thanks in advance
ОтветитьHi :) I really love your content, please check out Joi validation and do a tutorial on it? thank you !
ОтветитьVery helpful. Gracias Señor!
Ответитьkeep posting man i love your videoss
ОтветитьGreat and short explanation, thanks
ОтветитьCan I ask the name of the theme extension you used in this video?
ОтветитьExplicação precisa, inglês impecável. Parabéns, Pedro. E obrigado pelo vídeo!
ОтветитьSuper sir
ОтветитьHow can I add another input field to confirm password and check if the 2 passwords match?
ОтветитьThat's all good, but make everything much more complex. Why not just only change type="text" to type="email" and add an attribute of required
ОтветитьThe name should be string, Elon musk child will be 👀👄👀
ОтветитьSó tenho uma pergunta, quando eu quero validar se o email já existe no banco de dados, como eu faço para validar isto com YUP?
ОтветитьYayyyy
ОтветитьMuito bom.obrigado.
Ответить