Skip to content
This repository was archived by the owner on Dec 12, 2021. It is now read-only.
This repository was archived by the owner on Dec 12, 2021. It is now read-only.

Better support for arrays #1

@ansman

Description

@ansman

This would be very useful for validating input from checkbox for example where you can choose more than one alternative.

The length validator already works with arrays (though the default message is for strings) but perhaps inclusion should (optionally?) support arrays saying that each item in the array must be in the inclusion list.

Another useful thing to validate would be uniqueness of the items in the array to make sure you haven't picked the same item twice.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions