@dile/crud 1.9.3 → 1.9.4

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.
@@ -231,10 +231,6 @@ export class DileManyRelation extends DileI18nMixin(LitElement) {
231
231
 
232
232
  _onSelectChanged(e) {
233
233
  this._selectedId = e.detail.value || null;
234
- if (this.hideErrorOnInput && this.errored) {
235
- this.message = '';
236
- this.errored = false;
237
- }
238
234
  }
239
235
 
240
236
  _addSelectedItem() {
@@ -251,6 +247,10 @@ export class DileManyRelation extends DileI18nMixin(LitElement) {
251
247
  this._selectedId = null;
252
248
  this._clearSelect();
253
249
  this._refreshList();
250
+ if (this.hideErrorOnInput && this.errored) {
251
+ this.message = '';
252
+ this.errored = false;
253
+ }
254
254
  this._dispatch('many-relation-add-success');
255
255
  }
256
256
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dile/crud",
3
- "version": "1.9.3",
3
+ "version": "1.9.4",
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.com/",
26
26
  "dependencies": {
27
- "@dile/ui": "^2.21.3",
27
+ "@dile/ui": "^2.21.4",
28
28
  "axios": "^1.16.0",
29
29
  "lit": "^2.7.0 || ^3.0.0"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"
33
33
  },
34
- "gitHead": "6cce2cd32f997433190f40ba776e501421b771a6"
34
+ "gitHead": "f3d7061476125162d6d9822928d40dc15e110c6c"
35
35
  }