]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
node/TimeEdit: allow to 'search' time zone
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 16 Apr 2019 05:53:06 +0000 (05:53 +0000)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 16 Apr 2019 05:53:09 +0000 (05:53 +0000)
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 <t.lamprecht@proxmox.com>
node/TimeEdit.js

index 2e318b202e54333d36618bfa892217a6357da70d..46ca971fa06851a5563df777e17135d647528eb0 100644 (file)
@@ -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
     },