It seems to me, that the checkboxes field isnt saved at all when empty, its saved properly when at least one option is checked. I dont have any custom validation in place. When saving unchecked, after the page was saved this checked options, the page saves without error, but the boxes remain checked.
Actually this issue sounds like you are using a beta release of Kirby 2.2. Could you please check whether you are actually using Kirby 2.2.2, the latest stable release?
I cannot reproduced this behavior with an up-to-date kit, if no checkbox is checked, no value or key is saved, but no checkbox is checked in the panel either.
Some general feedback: If you post code blocks, please use three backticks around your code so that the indentation and syntax highlighting are displayed.
Yes, you are right: I first tested with a 2.2.0 testkit, which worked alright. Then I switched to a 2.2.2 testkit, where I cannot deactivate a checkbox once it was checked. So I consider this a bug.
Sometimes (I cant recognize a pattern) There is some validation going on, but as I said, I havn’t set up any, haven’t even dig into validation still, but I like its presenation so far
anyways see screenshot attached, same blueprint as in first post
@lukehatfield as @texnixe wrote, this is fixed on the develop branch, not yet in a release, but will be included in the next release (2.3). You can find the develop branch on GitHub