Mercurial > lada > lada-client
comparison app/view/grid/DatensatzErzeuger.js @ 1098:9bfbcad128a3
Set and enforce max text length for stammdaten fields.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 10 May 2016 16:01:25 +0200 |
parents | 677fc5e62055 |
children | 8b35db6b2306 |
comparison
equal
deleted
inserted
replaced
1094:677fc5e62055 | 1098:9bfbcad128a3 |
---|---|
113 }, { | 113 }, { |
114 header: i18n.getMsg('bezeichnung'), | 114 header: i18n.getMsg('bezeichnung'), |
115 dataIndex: 'bezeichnung', | 115 dataIndex: 'bezeichnung', |
116 editor: { | 116 editor: { |
117 allowBlank: false, | 117 allowBlank: false, |
118 xtype: 'textfield' | 118 xtype: 'textfield', |
119 maxLength: 120, | |
120 enforceMaxLength: true | |
119 } | 121 } |
120 }, { | 122 }, { |
121 header: i18n.getMsg('mstId'), | 123 header: i18n.getMsg('mstId'), |
122 dataIndex: 'mstId', | 124 dataIndex: 'mstId', |
123 renderer: function(value) { | 125 renderer: function(value) { |