andre 2 лет назад
Родитель
Сommit
669bcd7287
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      app/UI/Client/Ressource/Forms/AddRessourceForm.php

+ 4 - 1
app/UI/Client/Ressource/Forms/AddRessourceForm.php

@@ -57,9 +57,12 @@ class AddRessourceForm extends SortedFieldForm implements ClientArea
         $email->addInputComponent((new InputGroupElements\Text('domain'))->addHtmlAttribute('readonly','true'));
         $this->addSection($email);
 
+        $manager = new Select('manager');
+        $manager->notEmpty();
+
         $this->generateDoubleSection([new Text('description'), new Select('type')]);
 
-        $this->generateDoubleSection([new Select('manager'), new Select('status')]);
+        $this->generateDoubleSection([$manager, new Select('status')]);
 
     }
 }