From: Thomas Lamprecht Date: Tue, 16 Apr 2019 05:53:06 +0000 (+0000) Subject: node/TimeEdit: allow to 'search' time zone X-Git-Url: https://git.proxmox.com/?p=proxmox-widget-toolkit.git;a=commitdiff_plain;h=94ec386d9ae1cf7ff55c1ae67011eaae42e028b0 node/TimeEdit: allow to 'search' time zone follow the logic we use in file selectors of the PVE gui, i.e., allow editable but force a match and do not allow blank, this lets quick filter this big list instead of scrolling, and searching if something appears or not, even if one is may not be sure if/how this was sorted... Signed-off-by: Thomas Lamprecht --- diff --git a/node/TimeEdit.js b/node/TimeEdit.js index 2e318b2..46ca971 100644 --- a/node/TimeEdit.js +++ b/node/TimeEdit.js @@ -19,8 +19,9 @@ Ext.define('Proxmox.node.TimeEdit', { queryMode: 'local', store: Ext.create('Proxmox.data.TimezoneStore'), displayField: 'zone', + editable: true, + anyMatch: true, forceSelection: true, - editable: false, allowBlank: false },