ui: permission path selector: cbind typeAhead to editable
ExtJS throws an exception if 'typeAhead' is true but 'editable' is false. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
abe1edfc95
commit
fdb4416bae
@ -58,10 +58,13 @@ Ext.define('PBS.data.PermissionPathsStore', {
|
||||
Ext.define('PBS.form.PermissionPathSelector', {
|
||||
extend: 'Ext.form.field.ComboBox',
|
||||
xtype: 'pbsPermissionPathSelector',
|
||||
mixins: ['Proxmox.Mixin.CBind'],
|
||||
|
||||
valueField: 'value',
|
||||
displayField: 'value',
|
||||
typeAhead: true,
|
||||
cbind: {
|
||||
typeAhead: '{editable}',
|
||||
},
|
||||
anyMatch: true,
|
||||
queryMode: 'local',
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user