@smartsoft001/angular 1.1.672 → 1.1.673

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.
@@ -1856,9 +1856,7 @@
1856
1856
  if (((_h = options.possibilities) === null || _h === void 0 ? void 0 : _h.max) || ((_j = options.possibilities) === null || _j === void 0 ? void 0 : _j.max) === 0) {
1857
1857
  result.push(forms.Validators.max((_k = options.possibilities) === null || _k === void 0 ? void 0 : _k.max));
1858
1858
  }
1859
- if (options.unique) {
1860
- if (!uniqueProvider)
1861
- throw Error("Required uniqueProvider");
1859
+ if (options.unique && uniqueProvider) {
1862
1860
  asyncResult.push(function (c) { return __awaiter(_this, void 0, void 0, function () {
1863
1861
  var record;
1864
1862
  var _l;
@@ -6141,6 +6139,8 @@
6141
6139
  case 0: return [4 /*yield*/, new Promise(function (res) { return res(); })];
6142
6140
  case 1:
6143
6141
  _a.sent();
6142
+ if (!changes.passwordToCheck)
6143
+ return [2 /*return*/];
6144
6144
  password = changes.passwordToCheck.currentValue;
6145
6145
  this.setBarColors(3, "#DDD");
6146
6146
  this.msg = '';