I ended up developing a lot of code behind a button on a page (this is basically a drop down menu which is a popup). The menu has further popup for one of the buttons (already managed to get that working). The button, and the associated functionality, is working all well.
When I tried to save this button (which drops down a menu) as custom component, I can't find any such link when this button is in the header. When I drag the button down from the header the "Save as custom component" appears. When I save it as custom component, no functionality is saved into the custom component.
I am heartbroken, I can't replicate the complex functionality on each page individually. I really want this drop down menu saved as custom component so that I can drop it on several other pages. ....any help? ![]()