changeset 1101:421db8840f49

Adapt PLZ field to data model.
author Tom Gottfried <tom@intevation.de>
date Tue, 10 May 2016 17:15:30 +0200
parents 250e51e72155
children d91b0e649e8c
files app/view/grid/Probenehmer.js
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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