I noticed two mistakes:
The Select modal view of the type "checkboxes" shows near to the top right corner a green (-). But when you click on this, then a new selector is adding. In my opinion this must better be a green plus (+):
On a field type "checkboxes", when you have a value = 0, then this checkbox can never be choosen. See the following steps to reproduce this bug:
The checkbox should be set.
The checkbox is always empty/unset.
Source code synchronized from staging branch
OS Windows
PHP 7.0.13
MySQLi 5.5.5-10.1.19-MariaDB
From my point of view, the value "0" may be the problem. The other checkboxes in the described example work correctly.
Labels |
Added:
?
|
Title |
|
||||||
Labels |
Removed:
?
|
Title |
|
Uh, first sorry, i forgot to search in the pull request list... but...
@ggppdk: I have now tested both "mistakes" based on the code of PR #12807. You are right, the behavior is exactly as you described. And you already has commented this. Thank you for your help. The other thing with the green minus (-) still exists.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-12-04 12:05:56 |
Closed_By | ⇒ | Bakual |
Same thing for radio and and list fields
for checkboxes it happens when you select only 1 value (the value with zero), it should save, if you select more than 1
There is already a PR: #12807
Go ahead and test it