@dile/crud 0.0.49 → 0.0.51

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.
@@ -138,7 +138,9 @@ export class DileAjax extends DileAxios(DileI18nMixin(LitElement)) {
138
138
  this.createFormData();
139
139
  }
140
140
  for (const key in data) {
141
- this.formData.append(key, data[key]);
141
+ if (data[key] !== null && data[key] !== undefined) {
142
+ this.formData.append(key, data[key]);
143
+ }
142
144
  }
143
145
  }
144
146
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dile/crud",
3
- "version": "0.0.49",
3
+ "version": "0.0.51",
4
4
  "description": "Components to create a generic crud system based on Web Components and Lit",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -24,12 +24,12 @@
24
24
  },
25
25
  "homepage": "https://dile-components.polydile.com/",
26
26
  "dependencies": {
27
- "@dile/ui": "^2.1.25",
27
+ "@dile/ui": "^2.1.27",
28
28
  "axios": "^1.7.2",
29
29
  "lit": "^2.7.0 || ^3.0.0"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"
33
33
  },
34
- "gitHead": "e06755eed6d83790cb008f0f66bf89e2fc0acc9b"
34
+ "gitHead": "252763ee699b898671883ea5c67f4207488ea472"
35
35
  }