Skip to content

Commit 7ed4a0f

Browse files
Update docs/backend/upgrading/version-specific-migration/upgrade-to-60.md
Co-authored-by: Steve Piercy <[email protected]>
1 parent c369791 commit 7ed4a0f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/backend/upgrading/version-specific-migration/upgrade-to-60.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,5 +653,6 @@ It renders the portlets from the `plone.footerportlets` portlet manager.
653653

654654
## Boolean fields
655655

656-
Since `zope.schema==6.1.0` all `zope.schema.Bool` fields need to have a `required=False` attribute,
656+
Since `zope.schema==6.1.0`, all `zope.schema.Bool` fields must have a `required=False` attribute.
657+
This allows you to either tick or not tick the checkbox, submit the form, and process the field with either its value when ticked or `None` when unticked.
657658
otherwise, you will not be able to save the form without marking the checkbox, which effectively turns that field to be always `True`.

0 commit comments

Comments
 (0)