Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TextBox] throws error when used with Formly #3134

Closed
svetq opened this issue Dec 1, 2020 · 1 comment
Closed

[TextBox] throws error when used with Formly #3134

svetq opened this issue Dec 1, 2020 · 1 comment

Comments

@svetq
Copy link
Contributor

svetq commented Dec 1, 2020

Describe the bug
When integrating a Kendo UI for Angular TextBox component with Formly as demonstrated in the following article:

https://www.telerik.com/kendo-angular-ui/components/forms/how-to/integration-with-formly/

the following error is thrown:

TypeError: Cannot read property 'unsubscribe' of undefined

To Reproduce
Please check the following example:
https://stackblitz.com/edit/angular-zijgem-emrsgm?file=app%2Ftext-field.component.ts

What could be done as a workaround is to add *ngIf="true" to the kendo-textbox:

    <kendo-textbox
      *ngIf="true"
       ...
    >
    </kendo-textbox>
@Raisolution
Copy link

Issue has been addressed in v8.0.0 and later of the kendo-angular-inputs package.

https://stackblitz.com/edit/angular-keic49-f6cegs?file=app%2Fapp.component.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants