From be4a97500430eb12760636e1a76bf1de2f67250f Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 9 Sep 2017 10:35:25 +1200 Subject: Disable combobox editing --- web/app/view/dialog/Device.js | 3 ++- web/app/view/dialog/Geofence.js | 1 + web/app/view/dialog/Group.js | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) (limited to 'web/app') diff --git a/web/app/view/dialog/Device.js b/web/app/view/dialog/Device.js index 054931c..ba78ca9 100644 --- a/web/app/view/dialog/Device.js +++ b/web/app/view/dialog/Device.js @@ -48,7 +48,8 @@ Ext.define('Traccar.view.dialog.Device', { store: 'Groups', queryMode: 'local', displayField: 'name', - valueField: 'id' + valueField: 'id', + editable: false }, { xtype: 'textfield', name: 'phone', diff --git a/web/app/view/dialog/Geofence.js b/web/app/view/dialog/Geofence.js index bed20d3..9d7a59a 100644 --- a/web/app/view/dialog/Geofence.js +++ b/web/app/view/dialog/Geofence.js @@ -52,6 +52,7 @@ Ext.define('Traccar.view.dialog.Geofence', { queryMode: 'local', displayField: 'name', valueField: 'id', + editable: false, fieldLabel: Strings.sharedCalendar }, { xtype: 'hiddenfield', diff --git a/web/app/view/dialog/Group.js b/web/app/view/dialog/Group.js index 1f351a5..b517bbf 100644 --- a/web/app/view/dialog/Group.js +++ b/web/app/view/dialog/Group.js @@ -43,7 +43,8 @@ Ext.define('Traccar.view.dialog.Group', { store: 'Groups', queryMode: 'local', displayField: 'name', - valueField: 'id' + valueField: 'id', + editable: false }] }] } -- cgit v1.2.3