Browse Source

try to fix the detailed view

andre 4 năm trước cách đây
mục cha
commit
ac67a6ce3e
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      app/UI/VmUpdate/Sections/Qemu/GeneralSection.php

+ 2 - 2
app/UI/VmUpdate/Sections/Qemu/GeneralSection.php

@@ -166,13 +166,13 @@ class GeneralSection extends BaseSection
         //boot device 2
         $field = new Select("bootOrder1");
         $field->notEmpty();
-        $field->setDefaultValue('None');
+        $field->setDefaultValue(0);
         $field->addClass('hidden');
         $this->addField($field);
         //boot device 3
         $field = new Select("bootOrder2");
         $field->notEmpty();
-        $field->setDefaultValue('None');
+        $field->setDefaultValue(0);
         $field->addClass('hidden');
         $this->addField($field);
     }