From f59a7b2350335889dc081e508c3aaee680e0811b Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 17 Jul 2019 16:17:55 +0200 Subject: [PATCH] combogrid: always set the initial value, even if not found as else one lies to the user and only creates strange behavior, one should see the values even if not there anymore, if this is a invalid state is left for a later patch. Signed-off-by: Thomas Lamprecht --- form/ComboGrid.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/form/ComboGrid.js b/form/ComboGrid.js index fee08dd..a0c762c 100644 --- a/form/ComboGrid.js +++ b/form/ComboGrid.js @@ -382,7 +382,7 @@ Ext.define('Proxmox.form.ComboGrid', { def = rec.data[me.valueField]; me.setValue(def, true); } else { - me.setValue(me.editable ? def : '', true); + me.setValue(def); } } }