mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-13 21:24:01 +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']
|
||||
|
||||
valueField: 'ref',
|
||||
displayField: 'ref',
|
||||
|
||||
initComponent: function() {
|
||||
var me = this;
|
||||
|
||||
@ -70,8 +73,6 @@ Ext.define('PVE.form.IPRefSelector', {
|
||||
|
||||
Ext.apply(me, {
|
||||
store: store,
|
||||
valueField: 'ref',
|
||||
displayField: 'ref',
|
||||
listConfig: { columns: columns }
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user