diff app/view/proben/EditForm.js @ 128:9b14742a8117

Added allowBlanks to the Form.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 25 Jun 2013 11:49:33 +0200
parents 324b11db4323
children 7b1140bd8b3d
line wrap: on
line diff
--- a/app/view/proben/EditForm.js	Tue Jun 25 11:26:21 2013 +0200
+++ b/app/view/proben/EditForm.js	Tue Jun 25 11:49:33 2013 +0200
@@ -24,7 +24,8 @@
                     {
                         xtype: 'mst',
                         name: 'mstId',
-                        fieldLabel: 'Messstelle'
+                        fieldLabel: 'Messstelle',
+                        allowBlank: false
                     },
                     {
                         xtype: 'textfield',
@@ -52,14 +53,16 @@
                             {
                                 xtype: 'testdatensatz',
                                 name: 'test',
-                                fieldLabel: 'Testdatensatz'
+                                fieldLabel: 'Testdatensatz',
+                                allowBlank: false
                             },
                             {
                                 xtype: 'probenart',
                                 id: 'probenart',
                                 editable: false,
                                 name: 'probenartId',
-                                fieldLabel: 'Probenart'
+                                fieldLabel: 'Probenart',
+                                allowBlank: false
                             },
                             {
                                 xtype: 'textfield',
@@ -93,7 +96,8 @@
                         {
                             xtype: 'uwb',
                             name: 'umwId',
-                            fieldLabel: 'Umweltbereich'
+                            fieldLabel: 'Umweltbereich',
+                            allowBlank: false
                         },
                         {
                             xtype: 'textfield',

http://lada.wald.intevation.org