diff --git a/code/Forms/RemoteFileFormFactory.php b/code/Forms/RemoteFileFormFactory.php index fbf2f73e0..78c22e2e6 100644 --- a/code/Forms/RemoteFileFormFactory.php +++ b/code/Forms/RemoteFileFormFactory.php @@ -109,8 +109,7 @@ public function getForm(?RequestHandler $controller = null, $name = RemoteFileFo $fields = $this->getFormFields($controller, $name, $context); $actions = $this->getFormActions($controller, $name, $context); - $validator = new RequiredFieldsValidator(); - $form = Form::create($controller, $name, $fields, $actions, $validator); + $form = Form::create($controller, $name, $fields, $actions); $form->addExtraClass('form--fill-height'); $form->addExtraClass('form--no-dividers'); $form->addExtraClass('insert-embed-modal--'. strtolower($context['type'] ?? ''));