How to validate a text field without using form tags–I’m beginner to this IONIC 2. So please help me out with basics
bind the value of your input with [(ngModel)]=“myValue” and check it when you trying to submit, or check it on change events on the input.
in your typescript you could check if myValue === reasonable value I want it to be.
Another option is to use Regex, but I’m not really fond of that myself. Could easily get to complicated.