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

Toolbar causes an error when using kendo-toolbar-dropdownbutton with ngIf/ngFor #4465

Open
destus90 opened this issue Nov 25, 2024 · 2 comments

Comments

@destus90
Copy link

Description

When you have a tool under ngIf directive, toolbar will throw an error in the browser's console.

Steps To Reproduce

  1. Go to https://stackblitz.com/edit/angular-jv9hm3-24qd4a?file=src%2Fapp%2Fapp.component.ts
  2. Check the browser's console.

Screenshots or video

No response

Actual Behavior

Error is thrown

Expected Behavior

No error

Browser

Chrome

Browser version

latest

OS type

Windows

OS version

No response

Last working version of the Kendo UI for Angular package (if regression).

No response

@mbechev
Copy link
Contributor

mbechev commented Nov 28, 2024

The reported error is also reproduced when using ngFor:

<kendo-toolbar>
      <kendo-toolbar-dropdownbutton *ngFor="let item of items" [text]="item.text" [data]="data">
      </kendo-toolbar-dropdownbutton>
</kendo-toolbar>

https://stackblitz.com/edit/angular-532tbn-mfz3hx

@dtopalov dtopalov self-assigned this Nov 28, 2024
@dtopalov
Copy link
Contributor

Seems to apply for kendo-toobar-dropdownbutton, kendo-toolbar-button and kendo-toolbar-splitbutton work as expected.

@dtopalov dtopalov changed the title Toolbar causes an error when a tool under ngIf directive Toolbar causes an error when using kendo-toolbar-dropdownbutton with ngIf/ngFor Nov 28, 2024
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

3 participants