I have a component based on show-hide in AEM. can any one help on this
below is my scenario, card variation has three options Image on top, BG-Image and No Image. the card size field shoukld display only on Image on top variation. for this

dialog structure, for cardSize node I added granite:datanode

with value cq-dialog-showhide-target = .showhidetopImage



eventhoug I provided showhidetargetvalue String[] topImage,cardSize. its not working as expected