mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-06-10 01:28:06 +00:00

we used a custom 'data' property to pass around the items to add to the store, but this property is now used by ExtJS to store content for the component template also move to declarative style, saves lines
11 lines
311 B
JavaScript
11 lines
311 B
JavaScript
Ext.define('PVE.form.NetworkCardSelector', {
|
|
extend: 'PVE.form.KVComboBox',
|
|
alias: ['widget.PVE.form.NetworkCardSelector'],
|
|
comboItems: [
|
|
['e1000', 'Intel E1000'],
|
|
['virtio', 'VirtIO (' + gettext('paravirtualized') + ')'],
|
|
['rtl8139', 'Realtek RTL8139'],
|
|
['vmxnet3', 'VMWare vmxnet3']
|
|
]
|
|
});
|