Skip to content

[form.rule] Rename empty rule to be consistent #2937

@mvorisek

Description

@mvorisek

Feature Request

originally posted in atk4/ui#2129

Currently, the empty form rule is very, very confusing as the logic is negated with the remaining names.

empty means "nothing", but the rule validates the form field is "filled / not empty".

here atk4/ui#2129 (comment) is this fact more evident when compared with other rules like checked or is[dog]

This is a feature request to rename empty form rule to something like notEmpty or mandatory. For BC, the empty can be kept with a console warning.

Metadata

Metadata

Assignees

Labels

type/featAny feature requests or improvements

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions