@progressive-development/pd-contact 0.0.19 → 0.0.21

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 +2 -2
  2. package/src/PdContact.js +1 -1
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Progressive Development Contact component",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "author": "PD Progressive Development",
6
- "version": "0.0.19",
6
+ "version": "0.0.21",
7
7
  "main": "index.js",
8
8
  "module": "index.js",
9
9
  "scripts": {
@@ -17,7 +17,7 @@
17
17
  "storybook:build": "npm run analyze -- --exclude dist && build-storybook"
18
18
  },
19
19
  "dependencies": {
20
- "@progressive-development/pd-forms": "0.0.47",
20
+ "@progressive-development/pd-forms": "0.0.49",
21
21
  "lit": "^2.0.2"
22
22
  },
23
23
  "devDependencies": {
package/src/PdContact.js CHANGED
@@ -387,7 +387,7 @@
387
387
  */
388
388
 
389
389
  _validateForm(e) {
390
- if (e.detail) {
390
+ if (e.detail && !e.detail.singleElement) {
391
391
  this.shadowRoot.getElementById("contactContainerId").dispatchEvent(
392
392
  new CustomEvent("validate-form", {
393
393
  detail: e.detail