Opened 6 years ago

Closed 6 years ago

#15187 closed bug (notabug)

Triggering an event manually is not possible with selectmenu

Reported by: SamyCookie Owned by:
Priority: minor Milestone: none
Component: ui.selectmenu Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:


See the example below.

If an onchange event is created in selectmenu with the "constructor" method, trigerring an event manually will never be caught by this event. If the event is created the 'on' method, this event will be caught.

Is this behavious intended ? It seems tricky and buggy to me.

Change History (1)

comment:1 Changed 6 years ago by Scott González

Resolution: notabug
Status: newclosed

The change option is not a handler for the change event. It is a handler for the selectmenuchange event. Please see the documentation for more details.

Note: See TracTickets for help on using tickets.