Skip to content

empty string should be raised when rules include required #58

@lcygithub

Description

@lcygithub

empty string should be raised when rules include required,in utils.js ,function required should be

if (!this.isRoot() && this.rule.required && (!this.source.hasOwnProperty(this.field) || this.value === undefined || this.value === null || this.value === ""))

notice the this.value === ""

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