Skip to content

Suggestion: allow null or empty values when using ‎FileInputValidators #75

Closed
@mcms9090

Description

@mcms9090

Hi there!

Thanks for this useful library. Would it be possible to allow for the FileInputValidators validator to have null or empty values? There are cases where I want to limit the types of files to be submitted in a form but the field itself could be optional, but the validator returns false if there is no file so it gets marked as invalid.

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