View Full Version : [DUP] 4.1b3 - Combo onLoad function does not load value if value is zero

Tim Toady
24 Feb 2012, 11:50 AM
REQUIRED INFORMATION Ext version tested:

Ext 4.1 b3

Browser versions tested against:


DOCTYPE tested against:



When setValue is done on a combo, it will load the store and attempt to set the value. In the event that the value was zero, it will fail. In my particular case, zero is an id in the database. All the other combos are set correctly after loadRecord is ran.

Steps to reproduce the problem:

Have a combo with a store. Setvalue the combo which will trigger it to do an ajax call. When the ajax call returns, it will fail to set if that value was zero

The result that was expected:

A value was set

The result that occurs instead:

Nothing was set

HELPFUL INFORMATION Debugging already done:

Found issue

Possible fix:

Change if (me.value)

Additional CSS used:

only default ext-all.css

Operating System:


24 Feb 2012, 12:56 PM
Thank you for the report.