Skip to content
Loading
+2
  • Mario Scheeren
    +1
    You are mixing Forms and Reactiveforms ....
    https://blog.angular-university.io/introduction-to-angular-2-forms-template-driven-vs-model-driven/
    +1
  • +1
    So how can I change the code? I'm a beginner. Can you please help me to do this?
    +1
  • Rijwan Ansari
    0
    Hi,
    Update your form tag as 
    1. <form (ngSubmit)="updateStu(updstu)" #updstu="ngForm">  
    2.   
     Please try this
    0