Greetings to all,
When I’m creating a form using ngFormModel
:
<form [ngFormModel]="myForm">
....
....
</form>
it’s showing warning
in browser’s console…
*It looks like you’re using the old forms module. This will be opt-in in the next RC, and
will eventually be removed in favor of the new forms module. For more information, see:
Forms Upcoming Change Proposal
can any one help me what is the right practice to create forms?
I’m confused with what to use… go with 'ngModel'
or 'ngFormModel'
or (Template driven) like this approach #loginForm="ngForm"
used in ionic2 conference app
(Suggest any related code or article do need to follow)
Thanks in advance.