diff app/view/grid/Probenehmer.js @ 1101:421db8840f49

Adapt PLZ field to data model.
author Tom Gottfried <tom@intevation.de>
date Tue, 10 May 2016 17:15:30 +0200
parents 9bfbcad128a3
children 8b35db6b2306
line wrap: on
line diff
--- a/app/view/grid/Probenehmer.js	Tue May 10 16:02:31 2016 +0200
+++ b/app/view/grid/Probenehmer.js	Tue May 10 17:15:30 2016 +0200
@@ -149,7 +149,9 @@
             header: i18n.getMsg('plz'),
             dataIndex: 'plz',
             editor: {
-                xtype: 'numberfield'
+                xtype: 'textfield',
+                maxLength: 5,
+                enforceMaxLength: true
             }
         }, {
             header: i18n.getMsg('strasse'),

http://lada.wald.intevation.org