Skip to content

StringField validate logic makes all string fields required regardless of required flag value #236

@clockard

Description

@clockard

When using the StringField as part of a new field class the underlying validate will cause the string field to always be required. StringField calls it super.validate which checks the required flag but the StringField validate then goes on to check if the field value is empty and adds an exception if it is without checking if it is required or not.

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