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

Disabling multi-file

Open Inrego opened this issue 11 years ago • 1 comments

Hey. It's currently not possible to disable multi-file. It's due to how boolean values are handled in Polymer (as boolean attribute values), where the only way to set it to false, is leave out the attribute. But that does not work since you've set the default value to 'true'.

You can read more about the topic here: https://github.com/Polymer/polymer/issues/1812

Basicly, all boolean values should default to false.

Alternatively, you could change the attribute to a String type, and check for true/false values, if you do want the default value to be true.

Inrego avatar Aug 17 '15 21:08 Inrego

Great to know, will update!

winhowes avatar Aug 19 '15 04:08 winhowes