Search and Top Navigation
#15187 closed bug (notabug)
Opened May 03, 2017 09:38AM UTC
Closed May 03, 2017 12:11PM UTC
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: |
Description
See the example below.
https://jsfiddle.net/abxr87rk/5/
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.
Attachments (0)
Change History (1)
Changed May 03, 2017 12:11PM UTC by comment:1
resolution: | → notabug |
---|---|
status: | new → closed |
The
change
option is not a handler for thechange
event. It is a handler for theselectmenuchange
event. Please see the documentation for more details.