comparison app/view/widget/Netzbetreiber.js @ 1217:4270da0f7d3b

Merged branch schema-update into default.
author Tom Gottfried <tom@intevation.de>
date Fri, 14 Oct 2016 18:34:19 +0200
parents 356941a04ba0
children
comparison
equal deleted inserted replaced
1216:75e5caebd392 1217:4270da0f7d3b
15 store: 'StaNetzbetreiber', 15 store: 'StaNetzbetreiber',
16 displayField: 'netzbetreiber', 16 displayField: 'netzbetreiber',
17 valueField: 'id', 17 valueField: 'id',
18 editable: this.editable || false, 18 editable: this.editable || false,
19 readOnly: this.readOnly, 19 readOnly: this.readOnly,
20 isFormField: this.isFormField,
21 submitValue: this.submitValue,
20 // Enable filtering of comboboxes 22 // Enable filtering of comboboxes
21 queryMode: 'local', 23 queryMode: 'local',
22 triggerAction: 'all', 24 triggerAction: 'all',
23 typeAhead: false, 25 typeAhead: false,
24 minChars: 0, 26 minChars: 0,
33 } 35 }
34 else { 36 else {
35 this.store.clearFilter(); 37 this.store.clearFilter();
36 } 38 }
37 this.callParent(arguments); 39 this.callParent(arguments);
40 this.down('combobox').isFormField = false;
41 this.down('combobox').submitValue = false;
38 }, 42 },
39 43
40 getValue: function() { 44 getValue: function() {
41 var value = this.down('combobox').getValue(); 45 var value = this.down('combobox').getValue();
42 if (value === undefined || value === null || value === '') { 46 if (value === undefined || value === null || value === '') {

http://lada.wald.intevation.org