Skip to content

Feature Request: Or constraints #15

@troyji

Description

@troyji

It would be nice to have the ability to 'Or' constraints.

Use Case: I have an input field that can be blank. If it is not blank, it should be an integer.

Potential Solution:

<input type='text' data-constraints='@Blank | @Integer @Min(value=0)'/>

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions