file-upload icon indicating copy to clipboard operation
file-upload copied to clipboard

on-change event not fired

Open patrickvanamstel opened this issue 10 years ago • 0 comments

After clearing the file-upload element the on-change event was never fired.

Before:

clear: function() {
  this.set("files", []);
  this._showDropText();
},

Fix:

clear: function() { this.set("files", []); this.$.fileInput.value = ""; this._showDropText(); },

patrickvanamstel avatar Jun 28 '16 05:06 patrickvanamstel