-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* dispatch completion event when attempting to mount a form that was completed previously * remove the associated element * update stored data in localStorage * update readme for forms payload * 1.8.2 * update tests
- Loading branch information
1 parent
fe3dbea
commit 99ad68a
Showing
6 changed files
with
38 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -131,12 +131,16 @@ Hellotext.on('form:completed', (form) => { | |
}) | ||
|
||
{ | ||
state: 'completed', | ||
completedAt: 1730114734999, // Timestamp when the form was completed | ||
id: "xxxxx", // Id of the form that has been completed | ||
first_name: "Billy", | ||
last_name: "Butcher", | ||
email: "[email protected]", | ||
phone: "+1234567890", | ||
property_by_id[xxxxx]: "value" | ||
data: { | ||
first_name: "Billy", | ||
last_name: "Butcher", | ||
email: "[email protected]", | ||
phone: "+1234567890", | ||
property_by_id[xxxxx]: "value" | ||
} | ||
} | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters