Skip to content

Add header action: Undefined array key "on" #2085

Open
@Toutouwai

Description

@Toutouwai

The docs for Inputfield::addHeaderAction() say that for a "toggle" action, the on setting has a default value of false. This implies that it's not required to define the on setting when false is desired.

But if this item is omitted from the settings array there is an error notice:

Undefined array key "on" in ...\wire\core\InputfieldWrapper.php:1087

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions