Skip to content

'accept' option is not attached to the file input tag #107

Open
@diegonc

Description

Since 54ebd4b (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:

  • f70ca79 added configurable accept attribute (working?)
  • 924cf7b Refactorization (broken?)
  • 2ad90c5 Support accept attribute (working?)
  • 54ebd4b Utilize mpowaga:jquery-fileupload package (broken?)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions