Skip to content

empty flag #3

@ikoif

Description

@ikoif

This would be very cool, to set an empty flag which will check for this regex: /^(?!\s*$).+/g

pil.set([{
    name: "myParam",
    empty: false,
    error: {
        empty: "myParam can not be empty"
    }
}])

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions