formly-js/angular-formly

TypeError: scope.theFormlyForm.$removeControl is not a function

Opened this issue · 1 comments

This is a bug. Very unexpected.

Please provide a simple solution

FYI

Please do not try to provide me a reference to read something more. 
I would rather spend time to reimplement everything because of such bug. 

I was getting the same error, and in my case it happened because in <formly-form form="foo"></formly-form>, foo wasn't undefined. Check the parameter on you are passing as form, this might be the problem.