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', {
|
Ext.define('PBS.form.PermissionPathSelector', {
|
||||||
extend: 'Ext.form.field.ComboBox',
|
extend: 'Ext.form.field.ComboBox',
|
||||||
xtype: 'pbsPermissionPathSelector',
|
xtype: 'pbsPermissionPathSelector',
|
||||||
|
mixins: ['Proxmox.Mixin.CBind'],
|
||||||
|
|
||||||
valueField: 'value',
|
valueField: 'value',
|
||||||
displayField: 'value',
|
displayField: 'value',
|
||||||
typeAhead: true,
|
cbind: {
|
||||||
|
typeAhead: '{editable}',
|
||||||
|
},
|
||||||
anyMatch: true,
|
anyMatch: true,
|
||||||
queryMode: 'local',
|
queryMode: 'local',
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user