-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
Description
Thanks for adding the new beta modal plugin!! From what I am reading in the Docs, it is supported to pass the titleHtml
property as an option to the this.$bvModal.msgBoxConfirm()
service. However, it does not seem to be working to pass HTML to the titleHtml
property as an option.
Code Example
const title = '<span class="text-info">Warning, This Is An HTML Title</span>';
const message = 'Some message...;
const response = await this.$bvModal.msgBoxConfirm(message, {
titleHtml: title,
noFade: true,
});
Expected behavior
Expected to see the title parsed as HTML with the span
element and class. Actually seeing the HTML passed directly to the title, as seen in the attached screenshot.
Versions
Libraries:
- BootstrapVue: 2.0.0-rc.22
- Bootstrap: 4.3.1
- Vue: 2.6.10
Environment:
- Device: Mac
- OS: Mojave 10.14.5
- Browser: Chrome
- Version: 75.0.3770.80