I'm trying to get a simple combobox in ExtJS 5 to submit both the value and text of the selected element. From everything I've read it seems like this should work if I include the hiddenName property for the combo but I cannot get it to submit both.
Here is the relevant combobox config:
name: 'myCombo',
hiddenName: 'myComboId',
submitValue: true,
xtype: 'combo',
queryMode:'local',
valueField: 'id',
displayField: 'state',
And here is a jsFiddle with this all set up: fiddle
If you look in firebug/chrome debugger at the request to my fake url when the form is submitted, you'll see that only 'myCombo' is submitted when I'm also expecting 'myComboId'.
Any help would be greatly appreciated, thanks.