5
0
mirror of git://git.proxmox.com/git/proxmox-backup.git synced 2025-01-06 13:18:00 +03:00

ui: prune keep input: actually clear value on clear trigger click

instead of resetting to the originalValue. This makes it behave like
other similar fields (e.g. the combogrid).

Reported-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2024-11-27 09:41:15 +01:00 committed by Thomas Lamprecht
parent 363e32a805
commit 0fe805b95f

View File

@ -32,7 +32,7 @@ Ext.define('PBS.PruneKeepInput', {
hidden: true,
handler: function() {
this.triggers.clear.setVisible(false);
this.setValue(this.originalValue);
this.setValue("");
},
},
},