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.
2 parents cf66210 + e97c04a commit e35c96fCopy full SHA for e35c96f
src/Form/Element.php
@@ -181,7 +181,7 @@ public function getValidators()
181
182
public function validate($keys)
183
{
184
- $validator = $this->form ? $this->form->getValidator() : validator();
+ $validator = $this->form ? $this->form->getValidator() : validator()->make([], []);
185
$values = request($keys);
186
187
$validator = $validator->setData($values);
0 commit comments