Get data from a ionc 2 form to the ts file


#1

hey guys,

I want to retrieve the value that type in my input form in ionic 2 app and use it in the typescript file to do some rule on it how i can get this value :confused:

Thank you in advance


#2

checkout angular 2 docmentation about forms --> there are template-driven and model driven forms.

https://angular.io/docs/ts/latest/guide/forms.html