Topic: error on tooltip change - ng-uikit-pro-standard
                  
                  vladcio
                  free
                  asked 5 years ago
                
Expected behavior
no errorActual 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>
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Opened
- 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
 
Arkadiusz Idzikowski staff commented 5 years ago
Thank you, we will take a closer look at this problem.