@shmu80 wrote:
When I set ngControl in Ion-input the value will not display, but value will display without ngControl
Assuming email value=abcdefg123@abc.com
Example 1:
<ion-item> <ion-label stacked>Email:</ion-label> <ion-input type="email" value="{{data.email}}" > </ion-input> </ion-item>
UI Display
Email:
abcdefg123@abc.comExample 2:
<ion-item> <ion-label stacked>Email: </ion-label> <ion-input type="email" value="{{data.email}}" ngControl="email"> </ion-input> </ion-item>
UI Display
Email:
<empty>
Appreciate if anybody able to advise.
Posts: 3
Participants: 3