Просмотр исходного кода

Bugfix: use attribute at forms

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

+ 1 - 1
app/UI/Client/Ressource/Sections/GeneralSection.php

@@ -62,7 +62,7 @@ class GeneralSection extends FreeFieldsSection
         $this->generateDoubleSection([$passwd, $repPasswd]);
         $this->generateDoubleSection([$passwd, $repPasswd]);
 
 
         $type = new Select('type');
         $type = new Select('type');
-        $capacity = new Number('capacity',0);
+        $capacity = new Text('capacity');
 
 
         $this->generateDoubleSection([$type, $capacity]);
         $this->generateDoubleSection([$type, $capacity]);