ui: ceph: pool edit: set emptyValue to 0 for target-size field

ensure it gets "deleted" (ceph resets it on setting this to zero)
when modified to empty.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-04-26 14:12:00 +02:00
parent b34b3040cd
commit 44429805dc

View File

@ -144,6 +144,7 @@ Ext.define('PVE.CephPoolInputPanel', {
allowBlank: true,
allowZero: true,
emptyText: '0',
emptyValue: 0,
autoEl: {
tag: 'div',
'data-qtip': gettext('The amount of data eventually stored in this pool. Used for auto-scaling.'),