Skip to content

Validation should be pluggable #31

@gevou

Description

@gevou

Built-in validators in validators.js have been built based on a previous version of the Forms API which passed all the parameters to a validator function as a single context object. (see line 1 of validators.js)

They should be updated in order to reflect the new API and allow the following usage syntax within a schema:
carType: Forms.validators.oneOf([ 'sport', 'sedan', ... ])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions