Hi I would like the dropdown menu to disappear as soon as one of the menu items are clicked. Ho w can I do that?
Thanks in advance!
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
There doesnt appear to be a way to add an onChange event. All i get is onViewportEnter, onViewportLeave, onMouseIn and onMouseOut.
Hi,
Select the dropdown in the editor, and in the property sheet add an onChange event. In the code block that appears in the code page, issue the hide command.
export function dropdown1_change(event) { $w('#dropdown1').hide(); }