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 5eeb268 commit e97c04aCopy full SHA for e97c04a
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