Skip to content

MaterialCollectionItem throws NPE onClick #1026

@DWinklerSaascom

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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