With the release of Bootstrap 4.3.1, PopConfirm stopped working. Whenever a PopConfirm instance is triggered, the buttons do not appear:
I recreated the issue here: https://www.codeply.com/go/2BWcRgi8mc I'm using the following dependencies and updated versions, loading them in the following order:
When I revert back to Boostratp 4.2.1, the buttons show up just fine:
PopConfirm issue: https://github.com/Ifnot/PopConfirm/issues/41
that's because in v4.3.1 we introduced a sanitizer for Tooltip and Popover templates. By default this is what's authorized: https://getbootstrap.com/docs/4.3/getting-started/javascript/#sanitizer
but if you need to allow button you have to do:
$.fn.tooltip.Constructor.Default.whiteList.button = []
And buttons will appear
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With