|
@@ -35,14 +35,10 @@ use ModulesGarden\Servers\ProxmoxCloudVps\Core\UI\Widget\Forms\Fields\Range;
|
|
|
class UpdateForm extends BaseForm implements ClientArea
|
|
class UpdateForm extends BaseForm implements ClientArea
|
|
|
{
|
|
{
|
|
|
use ProductService;
|
|
use ProductService;
|
|
|
|
|
+ protected $minSize = 0;
|
|
|
|
|
|
|
|
public function initContent()
|
|
public function initContent()
|
|
|
{
|
|
{
|
|
|
- $this->initIds('updateDiskForm');
|
|
|
|
|
- $this->setFormType('update');
|
|
|
|
|
- $this->setProvider(new DiskProvider());
|
|
|
|
|
- $this->initFields();
|
|
|
|
|
- $this->loadDataToForm();
|
|
|
|
|
|
|
|
|
|
logModuleCall(
|
|
logModuleCall(
|
|
|
'proxmoxCloud',
|
|
'proxmoxCloud',
|
|
@@ -52,6 +48,11 @@ class UpdateForm extends BaseForm implements ClientArea
|
|
|
parent::getFormData()['size']
|
|
parent::getFormData()['size']
|
|
|
);
|
|
);
|
|
|
|
|
|
|
|
|
|
+ $this->initIds('updateDiskForm');
|
|
|
|
|
+ $this->setFormType('update');
|
|
|
|
|
+ $this->setProvider(new DiskProvider());
|
|
|
|
|
+ $this->initFields();
|
|
|
|
|
+ $this->loadDataToForm();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public function getAllowedActions()
|
|
public function getAllowedActions()
|