gwt-material icon indicating copy to clipboard operation
gwt-material copied to clipboard

MaterialCollectionItem throws NPE onClick

Open DWinklerSaascom opened this issue 3 years ago • 0 comments

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.

DWinklerSaascom avatar Aug 09 '22 09:08 DWinklerSaascom