I am new to ionic 2/3, prev. I have worked with ionic 1.
I was creating one screen of login.
for that, I create form and two input with ngModel. but that gives me the error.
If ngModel is used within a form tag, either the name attribute must be set or the form
control must be defined as ‘standalone’ in ngModelOptions.
i solved it by giving name to each ion-input, but i also want to validate input from controller side and use onSubmit property in form, use FormGroup and that angular forms provide.
So can anyone provide full documentation and example of angular form (ngForm).