Skip to content

Commit acb9dc3

Browse files
benj0cvalorkin
authored andcommitted
fix(tooltip): tooltipEnable inconsistent value (#4911)
1 parent 055220e commit acb9dc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tooltip/tooltip.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export class TooltipDirective implements OnInit, OnDestroy {
121121
@Input('tooltipEnable')
122122
set _enable(value: boolean) {
123123
warnOnce('tooltipEnable was deprecated, please use `isDisabled` instead');
124-
this.isDisabled = value;
124+
this.isDisabled = !value;
125125
}
126126

127127
get _enable(): boolean {

0 commit comments

Comments
 (0)