The forms tab, showing forms on the current page, will miss the fist option of 'radios' type elements.

Simples way to check this is to edit your own account and to check the "Status" element. It should have two options: "[0] => Blocked" and "[1] => Active", but in Firebug you can see only "[1] => Active".

Not sure, but this could be an issue only with options that are specified as a map?

Comments

mariuss’s picture

Noticed that these missing options will only happen if the key is 0 (zero).

In the above example, the Status option array is probably something like:
array(0 => 'Blocked', 1 => 'Active')

if this instead was:
array('b' => 'Blocked', 'a' => 'Active')

then all the options would be displayed.

populist’s picture

Status: Active » Fixed

This was fun to resolve. There was some hard to track down issues related to variable types. Turns out PHP believes that (0 != 'random_string) is false, but ((string) 0 != 'random string') is true.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.