Mercurial > lada > lada-client
diff app/view/widgets/Messmethode.js @ 531:7fb335bf6799
Fixed messmethode combobox display value.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 17 Dec 2014 11:34:43 +0100 |
parents | c1b77fb96b01 |
children |
line wrap: on
line diff
--- a/app/view/widgets/Messmethode.js Wed Dec 17 11:31:47 2014 +0100 +++ b/app/view/widgets/Messmethode.js Wed Dec 17 11:34:43 2014 +0100 @@ -13,17 +13,15 @@ extend: 'Ext.form.ComboBox', alias: 'widget.messmethode', store: 'StaMessmethoden', - displayField: 'messmethode', + displayField: 'display', valueField: 'id', emptyText: 'Wählen Sie eine Messmethode', // Enable filtering of comboboxes autoSelect: false, queryMode: 'local', triggerAction: 'all', - typeAhead: false, + typeAhead: true, minChars: 0, - tpl: '<tpl for="."><div class="x-combo-list-item x-boundlist-item" >' + - '{id} - {messmethode}</div></tpl>', initComponent: function() { this.store = Ext.data.StoreManager.get('staMessmethoden');