In my form panel, I have an Ext combo box set up like this:
new Ext.form.ComboBox({
store : routeStore,
displayField : 'rName',
valueField : 'rName',
fieldLabel : 'Select Fixed Route',
id : 'routeCombo',
typeAhead : true,
forceSelection : true,
mode : 'local',
triggerAction : 'all',
selectOnFocus : true,
editable : true,
hidden : false,
disabled : true,
minChars : 1,
hideLabel : true,
width : 210,
emptyText : 'Select Fixed Route'
})
Additionally, there's a label included in the setup:
{
xtype : 'label',
id : 'idTourCode',
text : 'SystemDate',
forId : 'myFieldId',
style : 'marginleft:10px',
//autoWidth : true,
flex : 1
}
My objective is to append the selected value from the combo box to the existing text of the label when a button is clicked. However, I haven't been able to figure out a solution on my own. Any assistance or guidance on how to solve this would be greatly appreciated.
Thank you so much!