We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c90651a commit 8ad3bbeCopy full SHA for 8ad3bbe
src/core/form-data-event.js
@@ -9,7 +9,6 @@ parser.attribute = "data-form-data-event"; // do not require ``data-pat-``
9
parser.addArgument("event-name-submit");
10
parser.addArgument("event-name-init");
11
parser.addArgument("prevent-submit", true);
12
-parser.addArgument("close-modal", true);
13
14
export default Base.extend({
15
name: "form-data-event",
@@ -46,12 +45,6 @@ export default Base.extend({
46
45
detail: { form_data: form_data },
47
});
48
document.dispatchEvent(ev);
49
- if (this.options.closeModal) {
50
- const modal = this.el.closest(".pat-modal");
51
- if (modal) {
52
- modal["pattern-modal"].destroy();
53
- }
54
55
if (this.options.event["name-init"]) {
56
document.removeEventListener(
57
this.options.event["name-init"],
0 commit comments