@firestitch/form 12.0.2 → 12.0.3

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.
@@ -2548,6 +2548,12 @@
2548
2548
  function FsFormModule() {
2549
2549
  }
2550
2550
  FsFormModule.forRoot = function () {
2551
+ /**
2552
+ * Hack: https://github.com/angular/components/issues/20097
2553
+ */
2554
+ core.ErrorStateMatcher.prototype.isErrorState = function (control, form) {
2555
+ return (control === null || control === void 0 ? void 0 : control.invalid) && (control === null || control === void 0 ? void 0 : control.touched) && (control === null || control === void 0 ? void 0 : control.dirty);
2556
+ };
2551
2557
  return {
2552
2558
  ngModule: FsFormModule,
2553
2559
  };