]>
git.proxmox.com Git - pve-manager.git/blob - www/manager/form/KVComboBox.js
1 Ext
.define('PVE.form.KVComboBox', {
2 extend
: 'Ext.form.field.ComboBox',
3 alias
: 'widget.pveKVComboBox',
7 getSubmitData: function() {
11 if (!me
.disabled
&& me
.submitValue
) {
12 val
= me
.getSubmitValue();
13 if (val
!== null && val
!== '') {
15 data
[me
.getName()] = val
;
16 } else if (me
.deleteEmpty
) {
18 data
['delete'] = me
.getName();
24 initComponent: function() {
27 me
.store
= Ext
.create('Ext.data.ArrayStore', {
32 if (me
.initialConfig
.editable
=== undefined) {
37 displayField
: 'value',