Skip to content

b-card header-html doesn't work #5038

@mariusa

Description

@mariusa

Describe the bug

According to
https://bootstrap-vue.org/docs/components/card/#comp-ref-b-card-header

this should render a card with header:

<b-card header-html='<b>strong</b> title'>
test
</b-card>

Steps to reproduce the bug

  1. see code above
  2. result: card without a header

Expected behavior

Render a card with header

Versions

Libraries:

  • BootstrapVue: 2.2.2
  • Bootstrap: 4.4.1
  • Vue: 2.6.11

Additional context

I also tried headerHTML, per
3c6ba3e
and
headerHtml, per
https://github.com/bootstrap-vue/bootstrap-vue/search?q=headerHTML&type=

None of these work.

<div slot="header">...</div> does work.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions