Jefferson
Jefferson

Reputation: 57

Kendo dropzone looks more like stack

I am working on a project where the user has option to upload file or paste a link. I like the way stack is doing it and wanted to see if I can get my kendo to look more like it. I dont see a way to replace the button with a browse or text. Is there a way I can edit the Select files... button section?

$("#photos").kendoUpload({
  async: {
    saveUrl: "http://my-app.localhost/save",
    removeUrl: "http://my-app.localhost/remove",
    autoUpload: true
  },
  complete: onComplete,
  upload: onUpload,
  localization: {
    dropFilesHere: "Browse, drag & drop, or <a id=displayLink>paste</a> an image or link"
  }
});

Fiddle: https://dojo.telerik.com/@mcdevitt/ItEWuTim

Stack Overflow's file uploader

enter image description here

Upvotes: 0

Views: 165

Answers (1)

Aleksandar
Aleksandar

Reputation: 1359

The text of the Select files button can be changed via the localization.select configuration - updated example

Upvotes: 1

Related Questions