@progressive-development/pd-wizard 0.1.67 → 0.1.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/PdWizard.js +3 -2
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "order",
15
15
  "steps"
16
16
  ],
17
- "version": "0.1.67",
17
+ "version": "0.1.68",
18
18
  "main": "index.js",
19
19
  "module": "index.js",
20
20
  "scripts": {
package/src/PdWizard.js CHANGED
@@ -297,8 +297,9 @@ export class PdWizard extends LitElement {
297
297
  }
298
298
 
299
299
  _submit() {
300
- this.dispatchEvent(new CustomEvent('submit-wizard'));
301
- this._submited = true;
300
+ const detail = {submited: false};
301
+ this.dispatchEvent(new CustomEvent('submit-wizard', {detail}));
302
+ this._submited = detail.submited;
302
303
  }
303
304
 
304
305
  _closeWizard() {