Skip to content

Support pipes separator in accept attribute #54

Description

@eggp

Hello,

bug: Linux Chrome Version 74.0.3729.157 (Official Build) (64-bit)
when add accept: text/plain, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, open system file upload panel, and selected custom file
image
types but i add pipe accept: text/plain|text/csv|application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, open system file upload panel and good select file types,
image
but when select file, your validator send error :(


chrome file input accept property use pipe separator instead of comma separator

plugin use comma separator: https://github.com/AckerApple/angular-file/blob/development/src/file-upload/fileTools.ts#L8

--
I'm sorry, my English is pretty weak
by eggp

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions