In the example you have used [ngValue] only in case of dropdown, however in other controls you have used only [value].When should I use [ngValue] over [value] ?
Thanks for this videos. I would like to ask, maybe I didn't see the explication or wasn't attentive enough, but, how do you make the submit button ? I was told to put this on the htmls' form :
Titre
Title needed The title must be like this
Envoyer
and this on the ts : onAdd(form : NgForm){ const newNumber = + this.articleToAdd; console.log("newNumber :" + newNumber) ; } And this in the ts file : onSubmit() { const newTitle = this titleToAdd ; const newPrice = this.priceToAdd ; } But it doesn't work exactly as I want and I didn't understood how to send newTitle and newPrice to another component. What is the difference beetwin the (click)="onAjouter()" function, if I put it in a button contained in my form ? Sorry to ask such a basic question :\
I am learning with you, step by step in the Web Development area. Thanks bro. 🥰🥰🥰
Glad to hear that
In the example you have used [ngValue] only in case of dropdown, however in other controls you have used only [value].When should I use [ngValue] over [value] ?
Sir hats off to you. You are simply an excellent mentor to new technologies.
Thanks for awesome feedback and glad you like Angular tutorials 👍
@@ARCTutorials Thank you sir. I also asked a question in another comment based on this video. Can you please reply on that ?
Hi! Nice work, just one question, what is the difference between [value] and [ngValue] ?
Both are attribute binding. One is custom value binding and the other is built-in attribute binding
great video!
Thank you so much for your kind words and encouragement 👍
Solid work sir! Enjoy your coffee!!
Thanks a lot for your support! Cant thank you enough for supporting me!
I also provide job support and personal training too. Let me know if you need any help anytime!
Please share the Signals tutorial as well
Recording today. Should go live today
Sir when can we see signals tutorials?
Its coming today. Im recording it right now
Thank you so much sir
Thanks for this videos.
I would like to ask, maybe I didn't see the explication or wasn't attentive enough, but, how do you make the submit button ?
I was told to put this on the htmls' form :
Titre
Title needed
The title must be like this
Envoyer
and this on the ts :
onAdd(form : NgForm){
const newNumber = + this.articleToAdd;
console.log("newNumber :" + newNumber) ;
}
And this in the ts file :
onSubmit() {
const newTitle = this titleToAdd ;
const newPrice = this.priceToAdd ;
}
But it doesn't work exactly as I want and I didn't understood how to send newTitle and newPrice to another component.
What is the difference beetwin the (click)="onAjouter()" function, if I put it in a button contained in my form ?
Sorry to ask such a basic question :\