Reactive Forms - The Basics

  Рет қаралды 258,508

Fireship

Fireship

Күн бұрын

Master the basics of Angular 6 reactive forms. In this episode, we build out form examples that solve common challenges like nesting, validation, persistence, and more. angularfirebas...
Reactive Forms Docs angular.io/gui...
Angular CLI Basics angularfirebas...

Пікірлер: 221
@Fireship
@Fireship 6 жыл бұрын
Forms are the core feature of many apps. Being skilled with reactive forms should be a high priority for virtually all Angular developers. I hope this video helps solidify the core principles :)
@leonardocoutinho8469
@leonardocoutinho8469 6 жыл бұрын
Hi, do you have a complete couse of angular and firebase ? If you have please send me the link.
@matthiaskublbock9149
@matthiaskublbock9149 6 жыл бұрын
God, I really love your videos. As a beginner Angular developer, these videos really help me out a lot. Please don't stop making such videos you don't even know how many people you help out with this :)
@Fireship
@Fireship 6 жыл бұрын
Great to hear that, I really want to build a comprehensive collection of videos like this one.
@sifo_io
@sifo_io 3 жыл бұрын
@@Fireship Suup fireship Im coming from the future to say thank you!
@gunitakon
@gunitakon 6 жыл бұрын
I once had to redo an Angular app's core form from scratch. Initially I had very fuzzy understanding of reactive forms, but the second time when I had to redo it, I had a much clearer idea, and was able to restructure it much better, however, I absolutely love watching these The Basics series because it really clears some very basic stuff that'll make you realize there's a better way. Looking forward to more of The Basics. Especially the dynamic forms.
@akmalnawfer970
@akmalnawfer970 6 жыл бұрын
first of all I didn't think you could cover this much in reactive forms in just 16 mins. kudos awesome video
@jorgeriveramx
@jorgeriveramx 3 жыл бұрын
This is easily the most awesome coding channel that there is in youtube. Thanks a lot for your work
@ekings2119
@ekings2119 3 жыл бұрын
(No sarcasm) I appreciate how your videos assume we are competent enough developers that don't need every single thing spoon fed. Thanks for your concise approach to teaching.
@malik.alimoekhamedov
@malik.alimoekhamedov 5 жыл бұрын
Best video on Angular / Firebase / Material reactive forms out there. Great job, as always!
@alexeyshlyk6577
@alexeyshlyk6577 6 жыл бұрын
It's hard for me to express my thoughts in English, but I understand you. I'm glad that there are people who love these technologies like me.
@edwardrouth
@edwardrouth 4 жыл бұрын
Got sei dank.. !!! Spent almost 4 hours to work around how i can use form builder and do validation for every field separately as i am new in Angular Development. At last your video.. was a relief !! Thanks a lot. It would be totally injustice if i dont LIKE and SUBSCRIBE. So here.. I just LIKED AND SUBSCRIBED... All the best for your future videos.
@benjaminjameswaller
@benjaminjameswaller 6 жыл бұрын
Hey Jeff. Awesome tutorial of reactive form basics. Thanks for listening and keep the beginner lessons coming as this is exactly what I need. 😙☺️ Great work.
@Fireship
@Fireship 6 жыл бұрын
WINNER - Send me an email at hello@angularfirebase.com for your free hat :)
@kyranmoore1132
@kyranmoore1132 6 жыл бұрын
Thanks for another great video Jeff! It's great to see quality content so regularly!
@smaddiona
@smaddiona 3 жыл бұрын
is there a mini version of you to get out from a pocket whenever i need your immense knowledge? geez you are smart
@jtpoltorak
@jtpoltorak 4 жыл бұрын
One of the best tutorials on reactive forms, excellent job 👍
@kapilkushwaha5055
@kapilkushwaha5055 6 жыл бұрын
And here is the video, that i was looking for: Complex Reactive Forms
@mizz6186
@mizz6186 6 жыл бұрын
Hi Jeff, Thanks for sharing these useful vids. It might be a good idea to add this and the previous videos on basics to a basics playlist. Thanks!
@Fireship
@Fireship 6 жыл бұрын
Thank you, yes I really need to update my playlists.
@nhan1503
@nhan1503 5 жыл бұрын
Thank you so much. I'm starting to work with Angular 7 and your videos about Angular have saved me tremendous amount of time. Subscribed , keep up with great contents like this!
@phillachmann3552
@phillachmann3552 6 жыл бұрын
I love the format of your videos. Concise, direct and very informative.
@reddyashok9
@reddyashok9 6 жыл бұрын
I always have big smile when I receive notification form your channel this video is ASM...
@Fireship
@Fireship 6 жыл бұрын
Great to hear that :)
@true_visual
@true_visual Жыл бұрын
I really REALLY love the intro music, it's so relaxing for coding, please share whenever you feel relaxed and confident to do so! (no rly, share coz I'm dying for this music track)
@SamuelBello64
@SamuelBello64 6 жыл бұрын
I've been searching a solution to my problem for close to 3 weeks now. I've a problem of submitting my values in the form and as well making my email test if it's wrong with the form validation in angular material. I'm glad you made this video.. Like God sent you to send this video because of me. I'm grateful Angular Firebase.. I also look forward to my cap please 😊
@Fireship
@Fireship 6 жыл бұрын
Thank you for this comment. I've run into these issues myself and I like to share my favorite solutions.
@ilgamgabdullin
@ilgamgabdullin 6 жыл бұрын
Well done ! Your tuts helped me to get a job as a front end developer, thank you!
@PROFjavi
@PROFjavi 6 жыл бұрын
Needed this tutorial right now and I am glad this info is coming from you. Great presentation per usual.
@jorgerenteral
@jorgerenteral 6 жыл бұрын
Awesome work man, saved me a lot of hours reading the vast info on the NG Docs
@beatrix70
@beatrix70 2 жыл бұрын
Super pact video, took me like an hour but it was worth it! Awesome tutorial
@mhafeez
@mhafeez 6 жыл бұрын
Super fast and super simple explanation. Thanks so much.
@NirdeshM
@NirdeshM 4 жыл бұрын
Simple and straight forward explanation.
@mnc12004
@mnc12004 6 жыл бұрын
Love it! I've been using a mixture of Material and Bulma but I think I will just change it all back to Material. Thanks loads for all of your work Jeff.
@Hasperbach
@Hasperbach 6 жыл бұрын
Very usefull information in combination with a professional presentation. 10 Points!
@saisiddhartha7100
@saisiddhartha7100 4 жыл бұрын
epic explanation brother! Absolutely no crap. Loved it
@michaelffasd23
@michaelffasd23 6 жыл бұрын
Great video! Forms are essential to learn in Angular.
@ajanieniola9172
@ajanieniola9172 6 жыл бұрын
This video is wonderful thanks for taking your time to make it
@Fireship
@Fireship 6 жыл бұрын
Thanks for watching, appreciate the feedback :)
@firaskudsy
@firaskudsy 6 жыл бұрын
Thanks .. as expected .. always bring a great tutorial
@mateja176
@mateja176 6 жыл бұрын
Reactive forms, sublime choice for the second video!
@Fireship
@Fireship 6 жыл бұрын
WINNER - Send me an email at hello@angularfirebase.com for your free hat :)
@flakky1
@flakky1 6 жыл бұрын
Great as always Jeff, if possible please do some more basic tutorials with firestore, specifically how to create custom query with load more button, i know you have 2 tutorials with infinite scroll, which can be used as a starting point, but it has some weird behavior if switching routes. Thanks for sharing knowledge, i learn alot from your videos.
@Fireship
@Fireship 6 жыл бұрын
Great to hear that :) My next pro video will cover Firestore with Reactive Forms, but have a ton of other Firestore stuff planned
@Josa192
@Josa192 4 жыл бұрын
It helped me a lot. Thanks!
@johnniestang
@johnniestang 4 жыл бұрын
Great and informative. Keep them coming.
@AmosWachangaW
@AmosWachangaW 6 жыл бұрын
Very good summary!
@ronitmishra8917
@ronitmishra8917 6 жыл бұрын
I really dig your content, and I genuinely find your spot to be an awesome place to learn. Though this comment is merely for the hat!
@Fireship
@Fireship 6 жыл бұрын
Thanks, a little late for the hat tho. Check out the latest video on the channel for a chance to win some swag :)
@ronitmishra8917
@ronitmishra8917 6 жыл бұрын
Damn, I was still learning Reactive forms when your reply popped up. You're really fast, Mr. Flash! Anyways, I'll be tuned in for your latest uploads. I get every thing I want to learn from your channel regarding Angular. So I'll be here only. You can consider me your loyal subject.
@tkd5041
@tkd5041 6 жыл бұрын
Just what I needed! Thanks!
@Fireship
@Fireship 6 жыл бұрын
Nice! Forms are critical for many
@narendratalreja2573
@narendratalreja2573 6 жыл бұрын
Thanks a ton for sharing this useful learning material.
@alexandernikandrov6
@alexandernikandrov6 6 жыл бұрын
Good video = short and clear. Thanks!
@yakovneumann2931
@yakovneumann2931 2 жыл бұрын
a beautiful explanation 😀
@filip.janevski
@filip.janevski 6 жыл бұрын
Thanks ! This helped me so much.
@roland0012
@roland0012 6 жыл бұрын
Great video, keep it up!
@mohammedibrahimali2988
@mohammedibrahimali2988 6 жыл бұрын
Thanks dude, you making good videos. It would help for most of the beginners, cheers :)
@Jagdish_Gund
@Jagdish_Gund 4 жыл бұрын
Just awesome.. very helpful
@KanavMalik20
@KanavMalik20 6 жыл бұрын
Just love the work you are doing!!
@SandeshUttarwar33
@SandeshUttarwar33 6 жыл бұрын
Much needed this video
@ancutamorarasu7614
@ancutamorarasu7614 4 жыл бұрын
Awesome content! It really helped me, thanks!
@YassineSABRI00
@YassineSABRI00 6 жыл бұрын
Thank you for the great job man
@kuna_dev
@kuna_dev 6 жыл бұрын
Keep it up and thanks for the great content
@DesuSudarsana
@DesuSudarsana 6 жыл бұрын
I think this video become a good reference for beginner 👍🏻
@ebayjurgen
@ebayjurgen 6 жыл бұрын
Great stuff! I was looking for this.
@ImperiumLibertas
@ImperiumLibertas 6 жыл бұрын
Superb content!
@yarikks1862
@yarikks1862 5 жыл бұрын
Thank you for your videos. There are very informative. And, good luck:)
@carrillocarlosce
@carrillocarlosce 6 жыл бұрын
Thanks man,
@Fireship
@Fireship 6 жыл бұрын
Thank you. It's hard work, but fun!
@razakadam74
@razakadam74 6 жыл бұрын
Awesome as always🤗
@dvselva
@dvselva 6 жыл бұрын
Very useful. Thanks so much
@SarShaGaming
@SarShaGaming 6 жыл бұрын
Thanks. Been looking for up to date reactive forms basics.
@hsuyuanjui
@hsuyuanjui 6 жыл бұрын
Thanks for ur video. Very helpful.
@romebop
@romebop 6 жыл бұрын
Thanks a bunch for this video! it was super helpful :3
@jamesfooks1487
@jamesfooks1487 6 жыл бұрын
great work as always, keep it up.
@berdenpaul
@berdenpaul 6 жыл бұрын
Awesome as always!
@Matthew-tl2ng
@Matthew-tl2ng 4 жыл бұрын
Have you ever seen Billy Madison when he is trying to learn Spanish right before the big contest? That is how I feel watching your videos lol. I will just set it to 3/4 speed in the future.
@Isylhdin
@Isylhdin 6 жыл бұрын
Love your videos !
@ale_lunalili
@ale_lunalili 6 жыл бұрын
Great video, thanks.
@Fireship
@Fireship 6 жыл бұрын
+Maria thanks for watching :)
@zoecarlibur
@zoecarlibur 6 жыл бұрын
Awesome video as always, Might be nice to cover ControlValueAccessor in Angular forms.
@elamia6515
@elamia6515 6 жыл бұрын
Great video, thanks a lot!
@nikhiltalwar318
@nikhiltalwar318 6 жыл бұрын
aah much needed video! Thanks
@naga2054
@naga2054 6 жыл бұрын
Thanks for awesome content.
@theunisdk
@theunisdk 6 жыл бұрын
Your tutorials are amazing. And I am not just saying that because of a free hat. They really are. #IdoWantAHatThough
@Fireship
@Fireship 6 жыл бұрын
WINNER - Send me an email at hello@angularfirebase.com for your free hat :)
@jseh_
@jseh_ 5 жыл бұрын
simple and clean explanation xd
@TheBlader55
@TheBlader55 6 жыл бұрын
I love you. Keep making this videos!!
@MZ-uv3sr
@MZ-uv3sr 3 жыл бұрын
Now I need to figure out custom validators, and why and when I need an async one I love this video. One thing...the music starts a bit too soon before it's really done and is kind of distracting.
@supercompooper
@supercompooper 5 жыл бұрын
This is insane and has to improve. It's far to hard to handle what is a very common pattern. We should instead be describing our form once, and the goal we want to achieve, and have a form generator. This has hundreds of places where a human can make a mistake or miss some edge case.
@sveinsoermo9883
@sveinsoermo9883 6 жыл бұрын
High quality video again.
@Fireship
@Fireship 6 жыл бұрын
Thank you Svein!
@BytesAndBrackets
@BytesAndBrackets 6 жыл бұрын
Great learning
@rajaera
@rajaera 4 жыл бұрын
This is awesome , Thank you!
@sample1801
@sample1801 3 жыл бұрын
Hey fireship ! This video is great ! But what's the angular version is this ??
@pgc1721
@pgc1721 4 жыл бұрын
Hi Thank you very much. What's Angular icon theme you are using ? Please let me know. Thanks
@wes443
@wes443 6 жыл бұрын
has a video been done on project structure? like what goes into core and shared modules and just the best practices for structuring an angular application
@jessyndaya9487
@jessyndaya9487 6 жыл бұрын
keep calm, we love it!!!! :)
@ttma1046
@ttma1046 6 жыл бұрын
Nice video!
@ms-pf9ow
@ms-pf9ow Жыл бұрын
Helpful ❤
@Blixzful
@Blixzful 6 жыл бұрын
Good work! What did you use the tap and first rxjs operators for? Can you also provide a video for a use case, where you have to use ngModel two way binding (f.ex to handle Promise rest API data calls)? Cheers Jeff!
@Fireship
@Fireship 6 жыл бұрын
Good catch, I was going to use tap and first for preloading data into the form, but ran out of time. I will cover that in my next pro video about "Advanced Form Techniques with Firestore"
@edgarsantos7782
@edgarsantos7782 5 жыл бұрын
Hi great video. I have a question about 11:07. You see I've been using angular from version 2. And I would use getters. I've changed job and had an argument with a developer and he refuses to use getters and would not allow me to do so. The thing is he told me (correctly) that angular change detection runs like a trillion (exagerating) times per second, if you are using functions it will run those everytime. I don't see harm when there is only returning a varible access (maybe I'm wrong), but if you are dong more things inside that getter might have performance issues? What you think?
@Kabatemasmusic
@Kabatemasmusic 5 жыл бұрын
When you show us the nested forms, then editing the cellphone also edits the homephone datamodel and vice versa... How to fix that?
@mpamparimpampatzi5374
@mpamparimpampatzi5374 4 жыл бұрын
my problem exactly
@janisbrivvirs2528
@janisbrivvirs2528 6 жыл бұрын
I am using angular for two years but never used a nested forms... :))
@Fireship
@Fireship 6 жыл бұрын
You're a lucky one then ;)
@janisbrivvirs2528
@janisbrivvirs2528 6 жыл бұрын
Don't think so... Combining multiple independent forms is an overkill compare to nested solution :D
@jorgeriveramx
@jorgeriveramx 3 жыл бұрын
Is there any reason to create the form in the ngOnInit life-cycle hook instead of the constructor? I ask because I've seen other tutorials where they do it in the constructor.
@romanroman9638
@romanroman9638 4 жыл бұрын
I'm repeating after the video. How can I handle this error: error TS2564: Property 'myForm' has no initializer and is not definitely assigned in the constructor. ?
@yuridigital
@yuridigital 6 жыл бұрын
very informative!
@musician9470
@musician9470 Жыл бұрын
Any tips on how to effectively create getters for forms?
@arihasan3423
@arihasan3423 6 жыл бұрын
Great video, and also I loved how quickly you showed the code without needing to type. I know ur using VSCODE, but what plugin do you use to insert the code, snippet?
@barmetler
@barmetler 4 жыл бұрын
What do you guys think of angular material? In my opinion, it's kinda annoying that you have to essentially fight against their css, sometimes requiring very specific selectors of !important. I feel like it's intended for people that just want to slap some components into their html and not adjust anything but colour and stuff... For me, I actually prefer just implementing the styling from scratch, with normal html elements, depending on how I want things to look... Maybe I'm doing something wrong though and there's a way to raise the priority of your custom css file for a component, if that's even a thing Edit: order of loading css files doesn't help, since their selectors are very specific and their style sometimes even uses !important
@rahmaniaboubeker4205
@rahmaniaboubeker4205 6 жыл бұрын
thanks this is very helpfull
@dule605
@dule605 6 жыл бұрын
Did you ever think about making a complete angular tutorial on udemy? Because that would be great and it would help us juniors alot. Thank's in advance
@xucongzhan9151
@xucongzhan9151 6 жыл бұрын
Clear and concise, really helpful! Thank you so much!
@alanlal5625
@alanlal5625 6 жыл бұрын
Where should I be using the template driven forms ? Is the reactive forms always the better one to use ?
@Fireship
@Fireship 6 жыл бұрын
Template forms are useful for very small forms that don't need validation bc they are easy to setup. Anything beyond simple should be reactive IMO.
@PeterSotosEPT
@PeterSotosEPT 6 жыл бұрын
Can you show an example where the nested form is a complex custom component with its own form?
@PeterSotosEPT
@PeterSotosEPT 6 жыл бұрын
I figured it out with some help. here is an example: github.com/psotos/AngularFormContainerProblem
@AlekseyNew
@AlekseyNew 6 жыл бұрын
Nice as usual :thumbup
@Fireship
@Fireship 6 жыл бұрын
Thanks Alex!
Angular Reactive Forms - All Needed Use Cases
15:55
Monsterlessons Academy
Рет қаралды 36 М.
Angular Router - The Basics and Beyond
11:47
Fireship
Рет қаралды 132 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Building Forms in Angular Apps | Mosh
25:04
Programming with Mosh
Рет қаралды 420 М.
JavaScript Pro Tips - Code This, NOT That
12:37
Fireship
Рет қаралды 2,5 МЛН
Creating and Using Reactive Forms | Angular Forms | Angular 13+
12:21
Reactive Forms in Angular - Dynamic Validation
13:24
Decoded Frontend
Рет қаралды 13 М.
RxJS Top Ten - Code This, Not That
14:44
Fireship
Рет қаралды 257 М.
Angular Components Beginner's Guide
13:52
Fireship
Рет қаралды 199 М.
UK demands backdoor for encrypted Apple user data...
4:28
Fireship
Рет қаралды 781 М.
Grafana is the goat... Let's deploy the LGTM stack
5:59
Fireship
Рет қаралды 614 М.
Google finally shipped some fire…
4:45
Fireship
Рет қаралды 984 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН