@pantarmj wrote:
I am declaring a variable with type “FormControl” as below:
@Input() formControlItem: FormControl;
and when setting the value to it in a method as
this.formController.setValue()
it is throwing error “Cannot read property ‘setValue’ of undefined”… while it was working properly in ionic 3.
Can some one plz help?
Posts: 1
Participants: 1