View Full Version : add empty value to combobox ?

28 Mar 2012, 2:19 AM
how to add an empty selectable "value" to a Ext.form.field.ComboBox thats using a store ?
pretty much like adding an option like <option value="null">&nbsp;</option> to a regular select.

28 Mar 2012, 6:12 AM
just add / insert it to the store that the combo is using and use an &nbsp; as for the field, that is defined as the displayField.

28 Mar 2012, 9:49 AM
thats a bad solution i think, adding "false/weird" records to the store and then i let user edit add/remove records from the store or do sync.

anyone with a solution that doesnt need to insert records to the store ? or a user extension ? :d