pull/1544/head
mertsincan 2021-09-14 09:29:37 +03:00
parent 5b0263636d
commit 064ad749d8
1 changed files with 3 additions and 2 deletions

View File

@ -292,13 +292,14 @@ const Tooltip = {
let target = getTarget(el);
target.$_ptooltipModifiers = getModifiers(options);
if (!options.value) return;
if (typeof options.value === 'string') {
target.$_ptooltipValue = options.value;
target.$_ptooltipDisabled = false;
}
else {
target.$_ptooltipValue = options.value.value;
target.$_ptooltipDisabled = options.value.disabled;
target.$_ptooltipDisabled = options.value.disabled || false;
}
}
};