Page MenuHomePhabricator

Add a synthetic DOM event to JX.Workflow for form submission
ClosedPublic

Authored by epriestley on Oct 14 2013, 12:31 AM.
Tags
None
Referenced Files
F17798614: D7295.id.diff
Fri, Jul 25, 3:46 AM
F17752286: D7295.diff
Tue, Jul 22, 6:49 AM
F17751975: D7295.diff
Tue, Jul 22, 6:19 AM
Unknown Object (File)
Jun 30 2025, 2:53 PM
Unknown Object (File)
Jun 29 2025, 6:22 PM
Unknown Object (File)
May 29 2025, 4:28 AM
Unknown Object (File)
May 6 2025, 2:17 PM
Unknown Object (File)
Apr 21 2025, 2:13 AM
Subscribers

Details

Summary

Currently, when a dialog is submitted the Workflow itself emits an event but no DOM event is emitted. The workflow event is fine for handlers which only use JS, but there's currently no way for a handler to act more like a normal form handler. This event gives normal form handlers a way to capture Workflow submits and muck around with form contents, etc.

Test Plan

In a future diff, edited policies via a Workflow dialog.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped