@alauda/ui 6.2.1-beta.1 → 6.2.1-beta.2

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.
@@ -2773,7 +2773,7 @@
2773
2773
  DialogComponent.decorators = [
2774
2774
  { type: i0.Component, args: [{
2775
2775
  selector: 'aui-dialog',
2776
- template: "<div [ngClass]=\"rootClass\" [ngStyle]=\"customStyle\">\n <ng-template cdkPortalOutlet></ng-template>\n</div>\n",
2776
+ template: "<div [ngClass]=\"rootClass\" [ngStyle]=\"customStyle\" data-test=\"AUI-DIALOG\">\n <ng-template cdkPortalOutlet></ng-template>\n</div>\n",
2777
2777
  encapsulation: i0.ViewEncapsulation.None,
2778
2778
  // tslint:disable-next-line:validate-decorators
2779
2779
  changeDetection: i0.ChangeDetectionStrategy.Default,
@@ -3992,7 +3992,9 @@
3992
3992
  }
3993
3993
  Object.defineProperty(InputComponent.prototype, "testId", {
3994
3994
  get: function () {
3995
- return this.elementRef.nativeElement.getAttribute('name') || 'aui-input';
3995
+ return (this.elementRef.nativeElement.getAttribute('formcontrolname') ||
3996
+ this.elementRef.nativeElement.getAttribute('name') ||
3997
+ 'aui-input');
3996
3998
  },
3997
3999
  enumerable: false,
3998
4000
  configurable: true