Mercurial > lada > lada-client
comparison app/view/widget/Netzbetreiber.js @ 1183:287ce20bb1cb schema-update
Set the netzbetreiber and set netzbetreiber widget to a non-form field.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 31 Aug 2016 15:57:49 +0200 |
parents | 356941a04ba0 |
children |
comparison
equal
deleted
inserted
replaced
1182:af65544e47e2 | 1183:287ce20bb1cb |
---|---|
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 === '') { |