PDA

View Full Version : Displayed value not updating for Combo with forceselection:true, typeahead: true



meehigh
29 Nov 2010, 6:51 AM
Hi,

I have a combobox with the folowing config properties:



mode:'local',
displayField:'User',
valueField:'IDUser',
triggerAction:'all',
forceSelection: true,
typeAhead: true,
autoSelect:true,
store: UserDS


When I write something in the combobox, the first match is autoselected and the displayed text is autocompleted.
When I press backspace, the first match is autoselected but the displayed text is not autocompleted. When I delete the entire displayed text, the first value is autoselected, but the displayed text remains empty. How can I synchronize the displayed text with the selected value at all times?

Is there an easy solution or do I have to extend the combobox?
Please help.