# HG changeset patch # User Raimund Renkert # Date 1462885821 -7200 # Node ID 677fc5e620555925fd019f0962dc659117cbff54 # Parent 4932f7abc8a86e34f010be214423a64239dc688c Set and enforce max text length for stammdaten id values. diff -r 4932f7abc8a8 -r 677fc5e62055 app/view/grid/DatensatzErzeuger.js --- a/app/view/grid/DatensatzErzeuger.js Tue May 10 15:00:56 2016 +0200 +++ b/app/view/grid/DatensatzErzeuger.js Tue May 10 15:10:21 2016 +0200 @@ -106,6 +106,8 @@ dataIndex: 'daErzeugerId', editor: { xtype: 'textfield', + maxLength: 2, + enforceMaxLength: true, allowBlank: false } }, { diff -r 4932f7abc8a8 -r 677fc5e62055 app/view/grid/MessprogrammKategorie.js --- a/app/view/grid/MessprogrammKategorie.js Tue May 10 15:00:56 2016 +0200 +++ b/app/view/grid/MessprogrammKategorie.js Tue May 10 15:10:21 2016 +0200 @@ -107,6 +107,8 @@ dataIndex: 'mplId', editor: { xtype: 'textfield', + maxLength: 3, + enforceMaxLength: true, allowBlank: false } }, { diff -r 4932f7abc8a8 -r 677fc5e62055 app/view/grid/Probenehmer.js --- a/app/view/grid/Probenehmer.js Tue May 10 15:00:56 2016 +0200 +++ b/app/view/grid/Probenehmer.js Tue May 10 15:10:21 2016 +0200 @@ -113,6 +113,8 @@ dataIndex: 'prnId', editor: { allowBlank: false, + maxLength: 9, + enforceMaxLength: true, xtype: 'textfield' } }, {