changeset 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 f5864914ebb3
children 33aed7dde69f
files app/view/proben/CreateForm.js app/view/proben/EditForm.js
diffstat 2 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/proben/CreateForm.js	Tue Jun 25 11:26:21 2013 +0200
+++ b/app/view/proben/CreateForm.js	Tue Jun 25 11:49:33 2013 +0200
@@ -50,7 +50,8 @@
                             {
                                 xtype: 'testdatensatz',
                                 name: 'test',
-                                fieldLabel: 'Testdatensatz'
+                                fieldLabel: 'Testdatensatz',
+                                allowBlank: false
                             },
                             {
                                 xtype: 'probenart',
--- 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