When the mode changes, we set the pool selector visible/hidden, but
we never disabled/enabled it. This tripped up the dirty state of the
form always showing the reset button as enabled.
Properly enabling and disabling the pool field fixes the dirty state
tracking.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
vmgrid.setDisabled(true);
vmidField.setValue('');
selPool.setVisible(true);
+ selPool.setDisabled(false);
selPool.allowBlank = false;
selectPoolMembers(selPool.value);
} else {
selPool.setVisible(false);
+ selPool.setDisabled(true);
selPool.allowBlank = true;
}
let list = vmidField.getValue();