Mercurial > lada > lada-client
view app/view/widget/Status.js @ 1172:9b157a8eecf1
Changed MKommentar Text into type textarea
author | Evi Huber <ehuber@bfs.de> |
---|---|
date | Tue, 05 Jul 2016 09:16:20 +0200 |
parents | 85acec6c6e6a |
children | 38599f18c863 |
line wrap: on
line source
/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz * Software engineering by Intevation GmbH * * This file is Free Software under the GNU GPL (v>=3) * and comes with ABSOLUTELY NO WARRANTY! Check out * the documentation coming with IMIS-Labordaten-Application for details. */ var statuswerteStore = Ext.create('Ext.data.Store', { fields: ['id', 'wert'], data: [{ 'id': 1, 'wert': 'plausibel' }, { 'id': 2, 'wert': 'nicht repräsentativ' }, { 'id': 3, 'wert': 'nicht plausibel' }, { 'id': 4, 'wert': 'Rückfrage' }, { 'id': 7, 'wert': 'nicht lieferbar' }, { 'id': 8, 'wert': 'zurücksetzen' }] }); /** * Combobox for Statuswert */ Ext.define('Lada.view.widget.Status', { extend: 'Lada.view.widget.base.ComboBox', alias: 'widget.statuswert', store: statuswerteStore, displayField: 'wert', valueField: 'id', emptyText: 'Wählen Sie einen Status', // Enable filtering of comboboxes autoSelect: false, queryMode: 'local', triggerAction: 'all', typeAhead: false, minChars: 0, initComponent: function() { this.callParent(arguments); } });