Reputation: 2828
I am creating new app that uses template with drawer navigation
tns create HelloWorld --template tns-template-drawer-navigation-ng
Next, following the online tutorial i am testing bidirectional data binding. Following the example, onthe home page, I have one TextField which binds to email field using [(ngModel)]="email" and button (tap)=signUp(), also i have added NativeScriptFormsModule to the NgModule’s list of imports. For some reason the bidirectional data binding doesn't work only one way. Does anybody faced similar issue?
Upvotes: 0
Views: 127
Reputation: 9670
Here you can find a PlayGround demo for creating two-way binding on TextField
with ngModel
- use it as reference to compare it with your code base
Upvotes: 1