meteor-autoform-file
meteor-autoform-file copied to clipboard
'accept' option is not attached to the file input tag
Since 54ebd4ba63332ee7d4e3037e2680c19186e3254d (Utilize mpowaga:jquery-fileupload package), the accept attribute is not present in the input file. The template for the upload button is receiving the following data:
+ selectFileBtnData: ->
+ label: @atts.label or 'Choose file'
+ accepts: @atts.accepts
but the template is still referencing accept
helper.
Did accepts
(plural) meant to support the same functionality as the old accept
helper[1]?
If yes, please rename it back to the singular form so you don't have to change documentation or existing apps.
If not then there's a problem :)
[1] For your reference, the commit history affecting this feature:
- f70ca7994d6e80848689a1ac3f2c9d545b9a162b added configurable accept attribute (working?)
- 924cf7b095c18717154dc6a8044ddb81dab35b36 Refactorization (broken?)
- 2ad90c5f500778f24d7e1c501170801975053d22 Support accept attribute (working?)
- 54ebd4ba63332ee7d4e3037e2680c19186e3254d Utilize mpowaga:jquery-fileupload package (broken?)
+1