React Native Tutorial #33 - Showing Form Errors
ฝัง
- เผยแพร่เมื่อ 2 ต.ค. 2024
- ----------------------------------------
🐱💻 🐱💻 Course Links:
Course files - github.com/iam...
🐱💻 🐱💻 Other Related Courses:
+ Complete React Tutorial - • Complete React Tutoria...
+ React Hooks & Context Tutorial - • React Context & Hooks ...
+ Modern JavaScript Tutorial - • Modern JavaScript Tuto...
Great work ! Keeps going to bring us the best contents
Wonderful tutorial, thank you Ninja
Thanks a lot!
You could of put customized text in the .required('Displayed error') , since it pulls the default text from the field name which is camelCase.
For anyone getting an error like this one: [Unhandled promise rejection: ReferenceError: Can't find variable: value],
Try doing this:
const reviewSchema = yup.object().shape({
title: yup.string()
.required()
.min(4),
body: yup.string()
.required()
.min(8),
rating: yup.string()
.required()
.test('is-num-1-5', 'Rating must be a number 1 - 5', (val) => {
return parseInt(val) < 6 && parseInt(val) > 0;
}),
});
Do you have a tutorial on creating radio buttons and checkboxes in formik for react-native? - your teaching is very clear and good
How could I edit the error sentences?
Great! Is there a way when we submit a form that all the form data will be send to an email we provide on the background ?i.e. when a contact form is submitted and the user submits a message and an email,those will be send to our email and we only shoe the user a Thanks for your submission view?
You will need to integrate with external API such as mailjet. This is best done through your backend server.
hey Net ninja i like your vidios do you know how to print in to a pdf file your information of the app for example
thank you
watched only part with formik hoping to learn smth new about it. ty =)
How do we make the modal seem like it's on top of the other elements?
Maybe with the 'transparent' property: docs.expo.dev/versions/latest/react-native/modal/#transparent
Please, uptade the node.js course...
It's on the radar.
@@NetNinja I think we need updated angular series too :) and thx again and again for all :D
Thanks, you are amazing! A tutorial about testing web applications it would be fantastic.
Is there any upcoming course for Vue with TypeScript?
Hey Net Ninja, I really like your work, I need some help and I don't know who to ask I hope you can answer it. How to do white label app for react native ?
what's a 'white label' app?
thank you bro really thanks
Always welcome :) thanks Murat
Great content. Thank you
when will you make a laravel course??>>> I got old waiting for you to do so... please consider it in your plans
Currently making one :). Will be up in about 2 weeks!
@@NetNinja love u man..
u r the best
you are amazing
Do u have a courses on udemy please?
Hey, I have put the whole React Native course on TH-cam for free. I do have some Udemy courses though - this is my latest course (with discount included) - www.thenetninja.co.uk/udemy/modern-javascript
Or just search for The Net Ninja on Udemy :)
Me texting friend after hours of coding:
I will be late mate;
But just max. 6 minutes;