Browse Source

try to fix the detailed view

andre 4 years ago
parent
commit
40fe65b654
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/UI/Disk/Forms/UpdateForm.php

+ 1 - 1
app/UI/Disk/Forms/UpdateForm.php

@@ -55,7 +55,7 @@ class UpdateForm extends BaseForm implements ClientArea
         }
         $backupSwitcher = $this->getField('backup');
         if ( parent::getFormData()['id'] == 'scsi0') {
-            $backupSwitcher->addClass('hidden');
+            $backupSwitcher->addHtmlAttribute(':disabled', true);
         }
 
     }