Mercurial > lada > lada-client
comparison app/view/widget/base/ComboBox.js @ 1016:d6e259e76de6
Updated filter value handling.
* Save and reset buttons for values
* Reload and update query stores
* set correct values on reset.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 02 Feb 2016 15:26:43 +0100 |
parents | 777bf66dbb11 |
children | 15d7b7a9e177 |
comparison
equal
deleted
inserted
replaced
1015:af9879d72310 | 1016:d6e259e76de6 |
---|---|
41 multiSelect: this.multiSelect, | 41 multiSelect: this.multiSelect, |
42 editable: this.editable || true, | 42 editable: this.editable || true, |
43 readOnly: this.readOnly, | 43 readOnly: this.readOnly, |
44 forceSelection: this.forceSelection || false, | 44 forceSelection: this.forceSelection || false, |
45 msgTarget: 'none', | 45 msgTarget: 'none', |
46 value: this.value, | |
46 tpl: this.tpl, | 47 tpl: this.tpl, |
47 displayTpl: this.displayTpl | 48 displayTpl: this.displayTpl |
48 }, { | 49 }, { |
49 xtype: 'image', | 50 xtype: 'image', |
50 name: 'warnImg', | 51 name: 'warnImg', |
106 | 107 |
107 getValue: function() { | 108 getValue: function() { |
108 return this.down('combobox').getValue(); | 109 return this.down('combobox').getValue(); |
109 }, | 110 }, |
110 | 111 |
112 setValue: function(value) { | |
113 this.down('combobox').setValue(value); | |
114 }, | |
115 | |
111 clearValue: function() { | 116 clearValue: function() { |
112 this.down('combobox').clearValue(); | 117 this.down('combobox').clearValue(); |
113 }, | 118 }, |
114 | 119 |
115 getName: function() { | 120 getName: function() { |