@esfaenza/forms-and-validations 11.2.64 → 11.2.65

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.
@@ -3219,15 +3219,13 @@
3219
3219
  };
3220
3220
  FormSelectComponent.prototype.detatchPreviousAndRetatchNext = function (doStuff) {
3221
3221
  var _this = this;
3222
- if (this.validationControl)
3222
+ if (this.validationControl && this.Form)
3223
3223
  this.Form.removeControl(this.validationControl);
3224
- else
3225
- console.log("Nothing to detatch");
3226
3224
  setTimeout(function () {
3227
3225
  doStuff(function () {
3228
- if (_this.validationControl)
3226
+ if (_this.validationControl && _this.Form)
3229
3227
  _this.Form.addControl(_this.validationControl);
3230
- else if (_this.validationControl) {
3228
+ else if (_this.validationControl && _this.Form) {
3231
3229
  _this.Form.addControl(_this.validationControl);
3232
3230
  }
3233
3231
  else