Ich habe ein Formular für Form in ExtJs 6, lege ich die Submit-Button als Standardschaltfläche festlegen müssen, wenn sie drücken Sie Enter in das Textfeld ein, hier geschoben wird, ist der CodeWie auf Schaltfläche als Standardschaltfläche
{
xtype: 'panel',
animCollapse: true,
collapseDirection: 'top',
collapsible: true,
iconCls: 'fa fa-filter',
title: 'By Mac Address',
items: [{
xtype: 'textfield',
id: 'macaddressValue',
itemId: 'macaddressValue',
padding: 10,
fieldLabel: 'Mac Address'
}, {
xtype: 'button',
width: 150,
iconCls: 'fa fa-search',
text: 'Search',
listeners: {
click: 'onSearchClick4'
}
}]
}
benutzen ich Referenzen, aber keinen Erfolg, was kann ich als eine mögliche Antwort nutzen oder