@leanix/components 0.2.216 → 0.2.217

Sign up to get free protection for your applications and to get access to all the features.
@@ -5675,11 +5675,12 @@
5675
5675
  return FormSubmitDirective;
5676
5676
  }());
5677
5677
  FormSubmitDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0__namespace, type: FormSubmitDirective, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
5678
- FormSubmitDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.1.4", type: FormSubmitDirective, selector: "[lxFormSubmit]", ngImport: i0__namespace });
5678
+ FormSubmitDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.1.4", type: FormSubmitDirective, selector: "form", ngImport: i0__namespace });
5679
5679
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0__namespace, type: FormSubmitDirective, decorators: [{
5680
5680
  type: i0.Directive,
5681
5681
  args: [{
5682
- selector: '[lxFormSubmit]'
5682
+ // eslint-disable-next-line @angular-eslint/directive-selector
5683
+ selector: 'form'
5683
5684
  }]
5684
5685
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }]; } });
5685
5686
 
@@ -5705,7 +5706,7 @@
5705
5706
  Object.defineProperty(FormErrorDirective.prototype, "control", {
5706
5707
  get: function () {
5707
5708
  var _a;
5708
- return ((_a = this.ngControl) === null || _a === void 0 ? void 0 : _a.control) || this.ctrl;
5709
+ return ((_a = this.ngControl) === null || _a === void 0 ? void 0 : _a.control) || this.ctrl || null;
5709
5710
  },
5710
5711
  enumerable: false,
5711
5712
  configurable: true