New ionic user - Uncaught (in promise)

Hi everyone, I am new to using iconic and I am doing a module in college on mobile development so I don’t mean to be asking stupid questions but I am having an issue with my app and I thinks it because of [(ngModel)]. Basically I have put it in my ionic input as I am trying to get a users name and display it to a home screen. I have imported import {FormsModule} from ‘@angular/Forms’; and included it in the imports. If i remove mgModel the page loads fine but once i included it I get errors.


scree mob

Hnmm, probaby is missing tag “name”

<ion-input name="myName" placeholder="bob" [(ngModel)]="myName"></ion-input>