@solidev/data 0.0.8 → 0.0.9

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.
@@ -4207,6 +4207,8 @@ class DispeditComponent {
4207
4207
  const fv = {};
4208
4208
  fv[this.field] = $event.id;
4209
4209
  this.form.patchValue(fv, { emitEvent: true });
4210
+ this.form.markAsTouched();
4211
+ this.form.markAsDirty();
4210
4212
  }
4211
4213
  }
4212
4214
  else {
@@ -4216,6 +4218,8 @@ class DispeditComponent {
4216
4218
  const fv = {};
4217
4219
  fv[this.field] = null;
4218
4220
  this.form.patchValue(fv, { emitEvent: true });
4221
+ this.form.markAsTouched();
4222
+ this.form.markAsDirty();
4219
4223
  }
4220
4224
  }
4221
4225
  return this._save();