Question:
I am using ngModel in my angular application. Nonetheless, when I log the data, I do infer that every value is undefined. Could someone point out where I am going wrong?
(P.S. ignore the contents of the “class” attribute. I make use of tailwindcss for the styling part)
footer.component.html
footer.component.ts
Answer:
You could depend to an object properties from both side:
footer.component.html
footer.component.ts
If you have better answer, please add a comment about this, thank you!