comparison app/view/widget/KoordinatenArt.js @ 1363:d52d4b55914b

Allow re-selection of referenced items in Ortserstellung. A once made selection or automatic pre-selection made it impossible to change the selection without closing the form.
author Tom Gottfried <tom@intevation.de>
date Wed, 08 Feb 2017 12:06:52 +0100
parents 39dbdfa00c91
children
comparison
equal deleted inserted replaced
1362:ec1625ba433b 1363:d52d4b55914b
17 valueField: 'id', 17 valueField: 'id',
18 // Enable filtering of comboboxes 18 // Enable filtering of comboboxes
19 queryMode: 'local', 19 queryMode: 'local',
20 triggerAction: 'all', 20 triggerAction: 'all',
21 typeAhead: false, 21 typeAhead: false,
22 editable: this.editable || false,
23 disableKeyFilter: true,
22 forceSelection: true, 24 forceSelection: true,
23 tpl: Ext.create("Ext.XTemplate", 25 tpl: Ext.create("Ext.XTemplate",
24 '<tpl for="."><div class="x-combo-list-item x-boundlist-item" >' + 26 '<tpl for="."><div class="x-combo-list-item x-boundlist-item" >' +
25 '{idfGeoKey} - {koordinatenart}</div></tpl>'), 27 '{idfGeoKey} - {koordinatenart}</div></tpl>'),
26 displayTpl: Ext.create('Ext.XTemplate', 28 displayTpl: Ext.create('Ext.XTemplate',

http://lada.wald.intevation.org