mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 07:03:23 +00:00
IPRefSelector: fix selection
move valueField and displayField to class config, else the value of the selection wont show up when selecting it. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
394a99831d
commit
beec97dc52
@ -8,6 +8,9 @@ Ext.define('PVE.form.IPRefSelector', {
|
|||||||
|
|
||||||
ref_type: undefined, // undefined = any [undefined, 'ipset' or 'alias']
|
ref_type: undefined, // undefined = any [undefined, 'ipset' or 'alias']
|
||||||
|
|
||||||
|
valueField: 'ref',
|
||||||
|
displayField: 'ref',
|
||||||
|
|
||||||
initComponent: function() {
|
initComponent: function() {
|
||||||
var me = this;
|
var me = this;
|
||||||
|
|
||||||
@ -70,8 +73,6 @@ Ext.define('PVE.form.IPRefSelector', {
|
|||||||
|
|
||||||
Ext.apply(me, {
|
Ext.apply(me, {
|
||||||
store: store,
|
store: store,
|
||||||
valueField: 'ref',
|
|
||||||
displayField: 'ref',
|
|
||||||
listConfig: { columns: columns }
|
listConfig: { columns: columns }
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user