Mercurial > lada > lada-client
changeset 1180:1ae5e4f0f2c8
Set allowBlank to false for mandatory fields to be filled by the user.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 04 Aug 2016 17:15:57 +0200 |
parents | 08bd9f1c791b |
children | 5489ae5ef9e0 |
files | app/view/form/Messprogramm.js |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/app/view/form/Messprogramm.js Thu Aug 04 16:59:37 2016 +0200 +++ b/app/view/form/Messprogramm.js Thu Aug 04 17:15:57 2016 +0200 @@ -139,6 +139,7 @@ }, { xtype: 'datenbasis', editable: false, + allowBlank: false, name: 'datenbasisId', fieldLabel: i18n.getMsg('datenbasisId'), margin : '0, 5, 5, 5', @@ -207,6 +208,7 @@ margin: '0, 0, 0, 0', items: [{ xtype: 'probenintervall', + allowBlank: false, fieldLabel: i18n.getMsg('probenintervall'), margin: '0, 10, 5, 5', labelWidth: 50, @@ -215,6 +217,7 @@ }, { xtype: 'numfield', allowDecimals: false, + allowBlank: false, fieldLabel: i18n.getMsg('teilintervallVon'), margin: '0, 10, 5, 10', labelWidth: 90, @@ -224,6 +227,7 @@ }, { xtype: 'numfield', allowDecimals: false, + allowBlank: false, fieldLabel: i18n.getMsg('teilintervallBis'), margin: '0, 15, 5, 5', labelWidth: 18, @@ -259,6 +263,7 @@ border: 0, items: [{ xtype: 'datetime', + allowBlank: false, fieldLabel: i18n.getMsg('gueltigVon'), margin: '0, 30, 5, 5', labelWidth: 90, @@ -267,6 +272,7 @@ period: 'start' }, { xtype: 'datetime', + allowBlank: false, fieldLabel: i18n.getMsg('gueltigBis'), margin: '0, 5, 5, 5', labelWidth: 40, @@ -292,7 +298,6 @@ name: 'umwId', fieldLabel: i18n.getMsg('umwId'), labelWidth: 125, - allowBlank: false, editable: true, listeners: { dirtychange: { @@ -365,7 +370,7 @@ name: 'ortId', fieldLabel: i18n.getMsg('ortId'), labelWidth: 80, - allowBlank: true, + allowBlank: false, forceSelection: true, editable: false, columnWidth: '0.75'