Skip to content
This repository was archived by the owner on Jul 1, 2020. It is now read-only.

Possible to use "or"? #98

Description

@pcxstephan

Hi!

I want to validate an IP address field as either IPv4 OR IPv6. Using the directive I tried validate="ipv4|ipv6" but this makes it so that the field has to be valid for IPv4 AND IPv6. Is this possible to do without writing a custom validation function?

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