Closed Bug 915324 Opened 12 years ago Closed 8 years ago

marionette-plugin-forms: fire change event for select elements

Categories

(Testing Graveyard :: JSMarionette, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: jrburke, Unassigned)

Details

Just setting .value on a <select> node does not fire a change event, which can be used by app code to get a notification of the select value. In an email test, after setting .value, we did this to fix it: var event = document.createEvent('Event'); event.initEvent('change', true, true); selectNode.dispatchEvent(event);
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.