controller.readOnly and element.name.readOnly

I have (for example) a field filled with an integer like 0 or 1.

I can set controller.readOnly = field without any problem.

element.name.readOnly = field however expects a boolean. Can this be changed to the same behaviour so the last example will also accept an integer 1 or 0?

Addition:

  1. The combo in the described case is attached to a global field and not a dataprovider. So, even when the field is supposed to be null it is not (as far as I understand with a global). Since the global is integer it becomes a zero…

So, when I open a form with an empty global (not made null yet) it shows the zero as a value…

fixed in 2.0RC9