This commit is contained in:
2023-12-15 19:45:05 +08:00
parent 2f60004570
commit a5b5e10e5e
5 changed files with 5 additions and 3 deletions
+1 -2
View File
@@ -93,8 +93,7 @@ class BindForm implements InjectParameterInterface
$validator->setAlias($property->getName(), $rule->field);
}
$typeProxy = $this->_typeValidator($property);
$validator->addRule($property->getName(), [$typeProxy, false]);
$validator->addRule($property->getName(), [$this->_typeValidator($property), 'dispatch', false]);
}