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 <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-04-16 05:53:06 +00:00
parent 577b6c7546
commit 94ec386d9a

View 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
},