Skip to content

B-Popover drops data-* attribute #5836

Closed
@unre4l

Description

@unre4l

Describe the bug

<b-popover> drops data-* attributes

Steps to reproduce the bug

  1. Add <b-popover data-test="test" .../>
  2. Click trigger element
  3. Inspect rendered dom for data-attrs
  4. Don't find it.

Expected behavior

That Bootstrap Vue components render data-* attributes on root components, as stated here: #3896 (comment)

Versions

Libraries:

  • BootstrapVue: 2.17.1,
  • Bootstrap: 4.5.2
  • Vue: 2.6.12

Environment:

  • Doesn't matter

Demo link

Minimal demo: https://jsfiddle.net/cm2ef49x/1

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