fileRemove

Fires each time the user removes a file attachment.

Event Data

e.file Object

The file that was removed.

e.files Array

The remaining attached files after removal.

Example

<div id="promptbox"></div>
<script>
$("#promptbox").kendoPromptBox({
    fileSelectButton: true,
    placeholder: "Attach and remove files...",
    fileRemove: function(e) {
        console.log("Removed file:", e.file.name);
        console.log("Remaining files:", e.files.length);
    }
});
</script>
In this article
fileRemove
Not finding the help you need?
Contact Support