View Full Version : Combobox redering issue with Form Panel

14 May 2013, 11:06 AM
Greetings. I have a question to ask about a combo box.

Combo Box code:

new Ext.form.ComboBox({
isEditable: true,
fieldLabel: 'Combo',
mode: 'local' ,
store: [10, 20, 50],
value: 1

I have attached two images to better illustrate my concern. The combo box renders correctly when the form is in 'Edit' mode or not. However, if the form is not in 'Edit' mode and the user clicks on the the combo box, the drop down list appears. Is this a bug or are my configurations messed up? Thank you

16 May 2013, 5:20 AM
What do you do when you are not in edit mode?

16 May 2013, 5:53 AM
I do not understand the question. When I am not in 'Edit' mode, I do nothing. I want the combobox field to be rendered as a textfield when I am not in 'Edit' (which it currently does). When I added the 'readOnly: true' config, it corrected the weird issue. But when I when into 'Edit' mode, I am not able to get the drop down options to display.