Skip to content

Use "accept" attribute on file inputs to limit file selection to extensions allowed by the field #559

Open
@Toutouwai

Description

@Toutouwai

File and image fields have a setting to define the allowed file extensions:

Image

It would be helpful if the file <input> in the inputfield applied any allowed extensions in an accept attribute, so that the OS will filter out files with invalid extensions when browsing for a file to upload.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions