view app/view/mkommentare/CreateForm.js @ 222:bd9ee11c74b4

Set maxLength of erzeuger to 5
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 16 Jul 2013 11:04:59 +0200
parents 62e116cd3e3b
children f005f43007b5
line wrap: on
line source
Ext.define('Lada.view.mkommentare.CreateForm', {
    extend: 'Lada.view.widgets.LadaForm',
    model: 'Lada.model.MKommentar',
    initComponent: function() {
        this.items = [
            {
                xtype: 'textfield',
                name: 'erzeuger',
                maxLength: 5,
                fieldLabel: 'Erzeuger'
            },
            {
                xtype: 'datefield',
                name: 'kdatum',
                fieldLabel: 'Datum'
            },
            {
                xtype: 'textareafield',
                name: 'ktext',
                fieldLabel: 'Text'
            }
        ];
        this.callParent();
    }
});

http://lada.wald.intevation.org