@aniya.jaskolski
To change the default text in dropzone.js, you can use the "dictDefaultMessage" option in the configuration object when initializing the Dropzone instance.
Here's an example of how you can change the default text to "Drop files here to upload":
1 2 3 4 |
var myDropzone = new Dropzone("#my-dropzone", { url: "/file-upload", dictDefaultMessage: "Drop files here to upload" }); |
You can replace "Drop files here to upload" with any other text that you want to display as the default message. This text will be displayed in the dropzone area until the user starts adding files.