what if I also have a contact number in my json file. I followed this video and tried adding contact number in my json file, but it says null every time i try to console.log it like you did in the video to test if its working
First console in service file. Make sure service is hitting properly. If inside service you got console output, then console from ts file. Console subscribed data inside closure function.
Yes , i got console output in ts file and also service . File, after that i wrote subscribe code , inside subscribe i put console for checking my output is added or not
At the below line, i am getting the error "Property 'subscribe' does not exist on type 'void'" this.student.saveStudentData(this.addStudent.value).subscribe((result:any)=> Please suggest
Thanks for explaining save data concept in a very simple way. I am new to angular and this video helped me.
Glad it was helpful! Thanks 🤗
THANK YOU, I watched a million videos and this was the only one that helped me !
Thank you so much
Master!! This was so clean , precise and to the point just loved it. thankyou for making this.
Thank you
Thank you so much for this
So simple and straight forward
Sir i got a problem... when the form is filled it shows the data except 2 input fileds... blood group and profile pic? How can I solve this problem
when I add a new object the id is not well incremented id: '5FudnAR', how can I solve it ?
Nice explanation... Very helpful video
Thank you 😊
thank you so much for this video , it was very helpful
Thank you
Very helpful for begginer
Thank you
Are these codes checked in git?
Is this possible to store the json form to postgresql
fantastic!!!!!!!!!!!!!
Why is the ID field randomized in mine, can I ask for help?
issue solved?
helpful.........
Thanks.
what if I also have a contact number in my json file. I followed this video and tried adding contact number in my json file, but it says null every time i try to console.log it like you did in the video to test if its working
It should work. No matter whether is contact number or some other data. Same logic.
Thanks
Welcome
hello i have a problem. when i insert data from add student, list student did not work.table is not update. can you help me pls.
Same problem facing did you solved
Sir i tried this, i got 500 error , where i placed console in ts file after subscribe that.
First console in service file. Make sure service is hitting properly. If inside service you got console output, then console from ts file. Console subscribed data inside closure function.
Yes , i got console output in ts file and also service . File, after that i wrote subscribe code , inside subscribe i put console for checking my output is added or not
And saved data is not adding in my json server database
@thiru moorthy I think something you did wrong. Please check once. Without checking it is difficult to say. Make sure your json server also running.
@@LearningPointsCourses I also got same error sir
core.mjs:6485 ERROR TypeError: Cannot read properties of undefined (reading 'post') I am getting this error in console please help me
It may be type mismatch error. Try to use specific type or if you don't know the specific type you can use any
I can only post the default id field, although in the submit function I have console.log the data from the form. Can you help me?
I need to check your code. May be it is data binding problem.
@@LearningPointsCourses Thank you for your reply, I have fixed the error. It was due to my httpOptions config. ❤️
@@longdang8264 Welcome ❤️
thanks to you
Welcome
At the below line, i am getting the error "Property 'subscribe' does not exist on type 'void'"
this.student.saveStudentData(this.addStudent.value).subscribe((result:any)=>
Please suggest
May be datatypes not matches with .ts file function. I need to see this to solve this problem.