We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a651ac7 commit bf18d70Copy full SHA for bf18d70
src/PHPFUI/ORM/Validator.php
@@ -601,7 +601,7 @@ private function validate_maxlength(mixed $value) : string
601
{
602
if ($this->currentFieldDefinitions->length <= 0)
603
604
- return true; // zero length fields can't have a max length test
+ return ''; // zero length fields can't have a max length test
605
}
606
607
$length = $this->currentParameters[0] ?? $this->currentFieldDefinitions->length;
0 commit comments