WATCH NEXT: Angular Interview Questions and Answers - Dominate Your Next Interview - kzitem.info/news/bejne/lneVv3-ij4l-g6Qsi=2DCn7yspEAAJ2H6l
@advance5189
2 ай бұрын
I always find something new for me in your videos. Pretty good work. Thanks!
@MonsterlessonsAcademy
2 ай бұрын
Awesome, thank you!
@maximkantsura1219
2 ай бұрын
Nice guide, thanks for your work
@MonsterlessonsAcademy
2 ай бұрын
Glad you enjoyed it!
@ugochukwuumerie6378
4 ай бұрын
Awesome lesson
@MonsterlessonsAcademy
4 ай бұрын
Glad you think so!
@dunmer0992
5 ай бұрын
Very nice. It really hit the spot.
@MonsterlessonsAcademy
5 ай бұрын
Glad to hear that!
@oleksiipopov5143
5 ай бұрын
Great lesson!
@MonsterlessonsAcademy
5 ай бұрын
Thanks! 😃
@TeddyEDMOND-p6u
5 ай бұрын
this is nice, in order to unbloat the file i would suggest creating an error component that takes an the errors and formControls and displays them when ever error happens. with the right modularity this could save some massive time and allow you DRY code. (this is not the subject i know )
@MonsterlessonsAcademy
5 ай бұрын
Sure. You can split it like you want. I just showed the most simple and basic way, so people understand how it works.
@sam.s6686
3 ай бұрын
Hi, can you please refer me to an example on how to do that
@TeddyEDMOND-p6u
2 ай бұрын
@@sam.s6686 i didn't really find any example of this online. however here is what you can do: create a component that takes the error object stored in the form. this components goal is to display the error and a detail of this error so you can write all the needed logic there. (i suggest you study the shape of the error object) then instead of creating a div with ngif or @if simply use an instance of this component for each input of your form. when there is an error your component should display the error and why it happened. note that angular material can display the common errors of a form out of the box. you should also read the document on the angular material inputs.
@fawzzhkz9023
5 ай бұрын
❤superb
@MonsterlessonsAcademy
5 ай бұрын
Thanks 🤗
@Brendan2Alexander
4 ай бұрын
So...do reactive forms work in a zoneless environment?
@MonsterlessonsAcademy
4 ай бұрын
everything works in zoneless environment
@kanaiyatiwari6748
5 ай бұрын
which themes you are using in vscode
@MonsterlessonsAcademy
5 ай бұрын
It's gruvbox
@sohailnaseer7251
3 ай бұрын
@if decorator is not working in angular 15. what is the issue?
@MonsterlessonsAcademy
3 ай бұрын
It is not available in angular 15. Use *ngFor directive instead.
@TurboSasa
5 ай бұрын
Why not use form field getter in component ts for example `get firstName(): AbstractControl { return this.form.get('firstName'); }` and then in template `@if (firstName.invalid ...`
@MonsterlessonsAcademy
5 ай бұрын
It's a matter of taste. You can do that
@fadil2671
5 ай бұрын
whats the difference with form = new FormGroup({ name: new FormControl(null, [Validators.required, Validators.minLength(8)]) desc: new FormControl(null) })
@MonsterlessonsAcademy
5 ай бұрын
There is no difference. You can provide validators if you need to but it is not mandatory
@fadil2671
5 ай бұрын
@@MonsterlessonsAcademy okay, nice. thanks
@chickenjoy
5 ай бұрын
What if I only want the errors to show when I click outside and not when I'm am still typing so that I will not get distracted or slightly pissed off that I haven't finished typing yet.
@MonsterlessonsAcademy
5 ай бұрын
There is touched property
@N4suu-t3y
4 ай бұрын
what is your fonts
@MonsterlessonsAcademy
4 ай бұрын
Monaco
@karthim9620
5 ай бұрын
I need to connect
@user-u64g7p
5 ай бұрын
A comment for the algorithm
@MonsterlessonsAcademy
5 ай бұрын
Thanks!
@matthewfreedberg3752
4 ай бұрын
"my speak english very bad. So, my name is Boris. I gotta go home to Albania to work on war factory and build tanks. London is a capital of Great Britain!" Damn, dude, I know it is very important to support all kinds of spreading knowledges, but at first you should work on your English pronunciation and only then play role of youtube blogger. My ears are bleeding right now! And I am still silent about how you look (not event close to Brad Pitt). If it is so necessary to practice English or acting or acting in English, there are so many platforms for it. I don't think that non-public frontend work for IT company brings less income than blogging (but who knows I am not an Angular blogger from USSR). For Christ's sake.
Пікірлер: 38