PDA

View Full Version : form.getValues() don't get combobox empty value fields.



maneljn
11 Dec 2013, 1:27 AM
Extjs 4.1.1.1
I have a combobox, with empty value set



combo.clearValue()


When i try this



form.getValues()


i get all the fields and values, but the combobox doesn't appear.

Manel

maneljn
11 Dec 2013, 1:33 AM
I also tried like this



form.getValues(false, false, true)


And the same result. the combobox field with empty value, doesn't appear.

brian428
11 Dec 2013, 5:00 PM
Looks like a bug that was fixed in 4.2. In the meantime, use form.getFieldValues(). https://fiddle.sencha.com/#fiddle/242