Adding a click event to a card component

your custom component needs to raise the click event somewhere. Currently the custom component doesn’t raise the click event. Since it doesn’t raise a click event then the click event will never fire, and so your function custom_form_1_click will never have a click event to handle.

to raise an event use

self.raise_event('click')

This might also help making a card clickable

1 Like