Hi,
We're trying to convert a custom widget over to the v8 style. One thing we have is a custom combo box. In order to separate the display and stored value, we are using the displayfield and valuefield attributes of the combo box. But, when we look in the database, the value that is stored is always the displayfield. Is there some way to get the valuefield to be stored in the database?
Thanks,
Eric
var combo = new vExt.form.ComboBox({
id:'<widget id>',
name:'<widget name>',
store: remoteStore,
displayField: 'displayField',
valueField: 'valueField',
typeAhead: true,
mode: 'local',
forceSelection: true,
triggerAction: 'all',
emptyText:'Select a value...',
selectOnFocus:true,
loadingText: "Loading data...",
autoSelect: true,
width: 250,
listWidth: 250,
editable: false
});