Unplanned
Last Updated: 21 Dec 2022 22:59 by ADMIN
Sneha
Created on: 21 Dec 2022 22:35
Category: FileSelect
Type: Feature Request
2
Add icon in the select button
It will be nice to have a way to add an icon in the 'Select Files' button
1 comment
ADMIN
Hetali
Posted on: 21 Dec 2022 22:59

Hi,

Thank you for the request. 

For now, please use the following workaround:

public insertIcon() {
  var selectFile = document.querySelector(".k-upload-button");
    
  var icon = document.createElement("span");
  icon.setAttribute("class", "k-icon k-i-upload");

  selectFile.insertBefore(icon, selectFile.childNodes[0]);
}

StackBlitz example

Regards,
Hetali
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.