Extjs Artikel Suche

Hallo, aus meinem „Model“ wird eine Form mit Feldern generiert. Wie kann ich statt dem normalem Eingabe Feld, ein Artikel Suchfeld anzeigen lassen? [color=orange]//model/main.js[/color] Ext.define('Shopware.apps.Test.model.Main', { extend: 'Shopware.data.Model', configure: function() { return { controller: 'Test', detail: 'Shopware.apps.Test.view.detail.Container' }; }, fields: [{ name: 'id', type: 'int', useNull: true }, { name: 'number', type: 'string', useNull: false}] }); [color=orange]//view/detail/container.js[/color] Ext.define('Shopware.apps.Test.view.detail.Container', { extend: 'Shopware.model.Container', padding: 20, configure: function() { return { controller: 'Test' }; }, }); [color=orange]//Bsp.:[/color] createArticleSearch: function() { var me = this; return Ext.create('Shopware.form.field.ArticleSearch', { name: 'number', fieldLabel: me.snippets.articleSearch, returnValue: 'name', hiddenReturnValue: 'number', articleStore: Ext.create('Shopware.store.Article'), allowBlank: false, getValue: function() { return this.getSearchField().getValue(); }, setValue: function(value) { this.getSearchField().setValue(value); } }); },

Würde mich auch Interessieren. Hast du dazu bereits eine Lösung?