Skip to content

Validate required boolean field with false #184

@moyuanhuang

Description

@moyuanhuang

Hi, I noticed that when using the Required validator against a boolean field with value equals false, the validator will raise

FIELD_NAME: cannot be blank.

Is this expected?

Sample code: https://go.dev/play/p/SkiEIx2aaQN

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions