From 0fe805b95f7c9ee21aea5d0b901ae0ddf792361c Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Wed, 27 Nov 2024 09:41:15 +0100 Subject: [PATCH] ui: prune keep input: actually clear value on clear trigger click MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit instead of resetting to the originalValue. This makes it behave like other similar fields (e.g. the combogrid). Reported-by: Fabian Grünbichler Signed-off-by: Dominik Csapak --- www/datastore/Prune.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/datastore/Prune.js b/www/datastore/Prune.js index 5752907e..e0ff4f2d 100644 --- a/www/datastore/Prune.js +++ b/www/datastore/Prune.js @@ -32,7 +32,7 @@ Ext.define('PBS.PruneKeepInput', { hidden: true, handler: function() { this.triggers.clear.setVisible(false); - this.setValue(this.originalValue); + this.setValue(""); }, }, },