Mercurial > lada > lada-client
comparison app/view/grid/DatensatzErzeuger.js @ 1094:677fc5e62055
Set and enforce max text length for stammdaten id values.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 10 May 2016 15:10:21 +0200 |
parents | 5e9a674d7bb4 |
children | 9bfbcad128a3 |
comparison
equal
deleted
inserted
replaced
1093:4932f7abc8a8 | 1094:677fc5e62055 |
---|---|
104 }, { | 104 }, { |
105 header: i18n.getMsg('daErzeugerId'), | 105 header: i18n.getMsg('daErzeugerId'), |
106 dataIndex: 'daErzeugerId', | 106 dataIndex: 'daErzeugerId', |
107 editor: { | 107 editor: { |
108 xtype: 'textfield', | 108 xtype: 'textfield', |
109 maxLength: 2, | |
110 enforceMaxLength: true, | |
109 allowBlank: false | 111 allowBlank: false |
110 } | 112 } |
111 }, { | 113 }, { |
112 header: i18n.getMsg('bezeichnung'), | 114 header: i18n.getMsg('bezeichnung'), |
113 dataIndex: 'bezeichnung', | 115 dataIndex: 'bezeichnung', |