Skip to content

Bug with checkboxbuttons default values #33

@adam-clarey

Description

@adam-clarey

Currently default values will only be applied if there is more than one field set as 'checked'.

I've found and fixed the issue and supplied the patch. Essentially, the onBeforeRender function expects the values to be in an array, but a single value does not appear in an array.
checkboxes-defaults.patch.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions