Skip to content

"Accept" attribute in the generated <input type="file"> #12

@germanger

Description

@germanger

Hello,

Thanks for this directive!

Have you considered adding accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" to the directive template?

  template: '<input type="file" accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" />',

This way only ".xlsx" files will be listed in the file dialog

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