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
F15433991: D7295.id16450.diff
Tue, Mar 25, 1:27 AM
F15433970: D7295.id16425.diff
Tue, Mar 25, 1:23 AM
F15433969: D7295.id.diff
Tue, Mar 25, 1:23 AM
F15389220: D7295.id16450.diff
Sat, Mar 15, 5:00 AM
Unknown Object (File)
Feb 23 2025, 10:15 AM
Unknown Object (File)
Feb 2 2025, 10:57 AM
Unknown Object (File)
Feb 1 2025, 12:22 AM
Unknown Object (File)
Jan 31 2025, 4:53 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