telerik / kendo-angular

Issue tracker - Kendo UI for Angular
http://www.telerik.com/kendo-angular-ui/
Other
463 stars 213 forks source link

[Upload][SVG icons] It's not possible to replace the retry svg icon in the upload component with another svg icon #4302

Closed Celentia closed 1 month ago

Celentia commented 1 month ago

Describe the bug When customizing the Upload component and trying to replace predefined SVG icons with custom or different kendo icons, the retry icon remains the same. This problem doesn't occur for other icons in this component.

To Reproduce

  1. Follow the Stackblitz link: https://stackblitz.com/edit/angular-zkwyqn?file=src%2Fapp%2Fapp.component.ts,src%2Fapp%2Fapp.module.ts
  2. Upload any file

Actual behavior The retry icon should be replaced with filePresentationIcon. зображення

Expected behavior The developer should be able to replace the predefined retry SVG icon with another SVG icon.

dtopalov commented 1 month ago

Hello @Celentia,

It seems that the key for the retry icon in the provided demo is incorrect - replacing it with 'refresh-sm' yields the expected result:

https://stackblitz.com/edit/angular-zkwyqn-jfexld?file=src%2Fapp%2Fapp.component.ts,src%2Fapp%2Fupload.component.ts

As this repository is for bug reports only, we are closing this thread. Please use our Feedback Portal to log feature requests:

https://feedback.telerik.com/kendo-angular-ui/

If you need assistance with specific scenario setup or component configuration, please open a ticket in our support system.