Required
Corex\Forms\Validation\Rules\Required · class · Forms layer
Fails when the value is absent, an empty/whitespace-only string, or an empty array.
Corex\Forms\Validation\Rules\Required · class · Forms layer
Fails when the value is absent, an empty/whitespace-only string, or an empty array.
validate(mixed $value, array $params, array $allValues): ?string