Toggle is ignoring edit values

Hi, I have run in to the following problem (possibly a bug):

So it seems the ‘toggle’ behavior does not toggle based on the last edit value set in the code. Is there any way around this, or is this a bug?

I have tried the official SmartGwt 2.2 release as well as the latest nightly build on Firefox and IE.