Open shamim4063 opened 8 years ago
@shamim4063 I have used ng2-completer with Reactive Forms, not sure if it is recommended to use both type of forms, but yes it's possible.
I'm not able to use this module with reactive forms.
The ngModel
attribute is not allowed with a parent fromGroup
attribute (the base of reactive forms).
Any considerations making this possible?
any update on this feature ?
can you provide a plunkr for it?
@oferh here's a plunk with it: https://plnkr.co/edit/ifPKbX?p=info
Just wrapping the example template in Reactive Form tag causes the error.
@misham thanks!
You should import ReactiveFormsModule
in AppModule
and add formControlName
to the control and then it works
https://plnkr.co/edit/xU98ux?p=preview
I have following form which I use for validation. Now I want to use ng2-completer with this form. Is it possible?