ui: namespace selector: set queryMode to local

to avoid that the comobox triggers automatic API request with the
queryParam default `query` GET param on manual typing (e.g., for
filtering) from the user, we have all data already loaded and locally
available.

https://docs.sencha.com/extjs/7.0.0/classic/Ext.form.field.ComboBox.html#cfg-queryMode

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-05-14 14:48:31 +02:00
parent 2e63a46414
commit 4f897c8cf9
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ Ext.define('PBS.form.NamespaceSelector', {
editable: true, editable: true,
anyMatch: true, anyMatch: true,
forceSelection: true, forceSelection: true,
queryMode: 'local',
matchFieldWidth: false, matchFieldWidth: false,
listConfig: { listConfig: {