Using readOnly property

I have a situation where I ask myself if the way it works is correct:

First I want to put the whole form readonly.
Then I want to make 1 checkbox not readonly because it is used to select records (in tableview).

So:

forms.myForm.controller.readOnly = true
forms.myForm.elements.myCheckbox.readOnly =  false

After this coding I expect to have a readonly form, except the checkbox. Unfortunately that is not the case; my checkbox remains readonly, even where the readonly property is set to false.

In my opinion the way it works now it is not good behavior.
Do you agree and if you think this is good behavior, do you have a solution for this situation?

I would say the behavior is OK. If you set a form to readOnly, that form is “locked” as a whole. If you want all but one fields to be read only, you either have to walk over all elements or maybe put that checkbox in a tab panel.