Button inside popover is not visible #34640
Answered
by
alpadev
muhammadsaeed21
asked this question in
Q&A
-
I am using heading and button in data content but only heading is visible and the button is not visible. Popover on bottom <script> $('#btn-pop').popover(); </script> |
Beta Was this translation helpful? Give feedback.
Answered by
alpadev
Aug 1, 2021
Replies: 1 comment 2 replies
-
I think you need to use Here is some example: https://jsfiddle.net/y87sam34/ |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
muhammadsaeed21
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you need to use
data-bs-html="true"
for this to work. And also add thebutton
elements to theallowList
or the sanitizer will remove it (alternatively use an<a/>
element or disable the sanitization).Here is some example: https://jsfiddle.net/y87sam34/