We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a38e1b commit 537e1bdCopy full SHA for 537e1bd
components/popover.vue
@@ -48,8 +48,8 @@ export default {
48
return ['click', 'focus'];
49
},
50
validator(value) {
51
- // Allow falsy value to disable all event triggers (equivalent to 'manual') in Bootstrap 4
52
- if (value === false) {
+ // Allow falsey value to disable all event triggers (equivalent to 'manual') in Bootstrap 4
+ if (value === false || value === '') {
53
return true;
54
} else if (typeof value === 'string') {
55
return Object.keys(triggerListeners).indexOf(value) !== -1;
0 commit comments