Topic: error on tooltip change - ng-uikit-pro-standard

vladcio free asked 4 years ago


Expected behavior

no error

Actual behavior

because there is not a condition in ng-uikit-pro-standard.js line 10141 for existing changes on mdbtooltip, i receive error whenever i change the boolean that change isDisabled to true or false

ngOnChanges(changes) { if (!changes['mdbTooltip'].isFirstChange()) { this.tooltipChange.emit(this.mdbTooltip); } }

ERROR TypeError: Cannot read property 'isFirstChange' of undefined at TooltipDirective.ngOnChanges (ng-uikit-pro-standard.js:10142)

Resources (screenshots, code snippets etc.)

'>button (click)= "openItemModal('edit')" type="button" mdbBtn color="white" [mdbTooltip]="tooltipText" [isDisabled]="!checkToSetDisable" placement="bottom" outline="true" rounded="true" size="sm" class="px-2" mdbWavesEffect>


Arkadiusz Idzikowski staff commented 4 years ago

Thank you, we will take a closer look at this problem.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 9.1.0
  • Device: laptop
  • Browser: google chrome
  • OS: macos catalina
  • Provided sample code: No
  • Provided link: No