Hi, I've been following your videos for a while now and I'm really enjoying them and I've learned a lot! thanks. I would like to suggest a video, if possible of how to do tests using postman/insomnia for the laravel breeze api interface with cookie csrf.
Hey, nope! the errors are contained within the form variable. so if you were to have other forms on the page, you would just need to use a different variable name. Eg: say you have the login and register forms on the same page component. const loginForm = useForm({email: "", password: ""}); const registerForm = useForm({name: "", email: "", password: "", password_confirmation: ""}); then in template you would have loginForm.error.email and registerForm.error.email - and so on
great film, but need a lot more of explanation; as a someone whos learning Vue, i didnt understand what is and how works processing or error handling in forms. Keep it up
One more question, how come you have form.error?.validation.content. Is the validation key an axios thing?
Hey! It's a custom Axios instance I created in this video: th-cam.com/video/UIdoq5ZvNJY/w-d-xo.html.
Stupid of me for forgetting to specify that :(
I saw you video on xstate, do you think it would be good in this case or is it too much?
I think i would be interesting a video on Laravel + Nuxt authentication usign XState
Hi, I've been following your videos for a while now and I'm really enjoying them and I've learned a lot! thanks. I would like to suggest a video, if possible of how to do tests using postman/insomnia for the laravel breeze api interface with cookie csrf.
hi, I'll probably do some postman stuff - lots of people been asking for it!
Which vscode theme you are using ? Could you please provide theme link ?
it remind me of inertia.js which have the useForm composable contain most mention scope to implement
Hello, when will the auth course be released?
What happens if you have multiple forms on the same page? It looks like both forms would be affected by the other form's error?
Hey, nope! the errors are contained within the form variable.
so if you were to have other forms on the page, you would just need to use a different variable name.
Eg: say you have the login and register forms on the same page component.
const loginForm = useForm({email: "", password: ""});
const registerForm = useForm({name: "", email: "", password: "", password_confirmation: ""});
then in template you would have loginForm.error.email and registerForm.error.email - and so on
Make project in Nuxt 3 like dashboard, landing page etc.
Thank you
great film, but need a lot more of explanation; as a someone whos learning Vue, i didnt understand what is and how works processing or error handling in forms. Keep it up