You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you have a checkbox field on an entry and none of the option(s) are selected, saving the entry results in a Couldn’t save entry. error. The checkbox field is highlighted and says CheckboxField is invalid.
Looking in the logs I see:
2019-02-14 11:48:13 [-][1][-][info][craft\services\Elements::saveElement] Element not saved due to validation error: Array
(
[testField[0].options[0].misc] => Array
(
[0] => CheckboxField is invalid.
)
)
I just upgraded to the latest version of Craft CMS this morning so 99% sure this was introduced in one of the last couple releases (3.1.8 +).
Steps to reproduce
Create a checkbox field and add it to a section
Try to save entry without selecting any of the checkbox field(s)
Additional info
Craft version: Craft CMS 3.1.10
PHP version: PHP 7.1.25
Database driver & version: MySQL 5.5.5
Plugins & versions: tested on a clean install with no plugins
The text was updated successfully, but these errors were encountered:
Description
When you have a checkbox field on an entry and none of the option(s) are selected, saving the entry results in a
Couldn’t save entry.
error. The checkbox field is highlighted and saysCheckboxField is invalid.
Looking in the logs I see:
I just upgraded to the latest version of Craft CMS this morning so 99% sure this was introduced in one of the last couple releases (3.1.8 +).
Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: