Skip to content

Running into problems with ActionButton::hide($callback), lacking Nova 4 support? #37

Description

@osbfms

Tried to get this package to run today, but I am running into problems. E.g.

"Declaration of Pdmfc\\NovaFields\\ActionButton::hide($callback) must be compatible with Laravel\\Nova\\Fields\\Field::hide()"

As one can see, Field::hide doesn't take any parameters, while ActionButton::hide accepts a callback.
Commenting out the hide function in ActionButton.php at least renders the page, but then other errors show up.

Is this because I'm using Nova 4, or am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions