Skip to content

MaterialCollectionItem throws NPE onClick #1026

Description

@DWinklerSaascom

Hallo,

currently i have a Problem with MaterialCollectionItem with an MaterialCollectionSecondary

I m creating a Item with Secondary Icons. HTML looks like
image

Somehow the MaterialCollectionItem throws now a NPE on click because the "cb.getValue()" is returning null.

image

I think it would be a better solution to make it configurable or at least a overwritable Funktion to not set this Handler at all. Only if we have a Secondary with a boolean Value it should be aktiv.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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