Support › General › Value of unchecked checkboxes/switchesResolved
on switch/checkbox fields you wrote "This field saves the “on” and “off” status in the database as “1” or “0”.
But it's a true? If i unchecked this field, this field not exists in the DB. Can you confirm this?
The statement is correct. However, I missed the code for switch field. The checkbox field works correctly. I've just push the fixes for the switch on Github.
i'm sorry, but your plugin upgrade with fix this issue didn't work. I don't see 0 in DB (meta field doesn't exist).
Can you confirm this and make a really fix?
.. and please, it has for me a high priority ..
Just want to note to this topic: the original bug with switch value is resolved, and the discussion continues here.
Switch. Is it possible to save on/off in the database instead of 0/1?