@progressive-development/pd-forms 0.0.47 → 0.0.48

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.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent pd-forms following open-wc recommendations",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "author": "PD Progressive Development",
6
- "version": "0.0.47",
6
+ "version": "0.0.48",
7
7
  "main": "index.js",
8
8
  "module": "index.js",
9
9
  "scripts": {
@@ -103,6 +103,10 @@ export class PdFormContainer extends LitElement {
103
103
  validateByType("phone", PdFormContainer._phoneIsValid, "+32 494 667085");
104
104
  validateByType("vat", PdFormContainer._vatIsValid, "BE0123456789");
105
105
  validateByType("number", (val) => !Number.isNaN(val), "only numbers");
106
+
107
+ if (e.detail.singleElement) {
108
+ e.stopPropagation();
109
+ }
106
110
  }
107
111
 
108
112
  static _mailIsValid(email) {