Skip to content

feat(b-tab): add ability to specify button attributes #4803

Closed
@andrewvasilchuk

Description

@andrewvasilchuk

Is your feature request related to a problem? Please describe...

Somehow I need to set custom attributes to button, but all I have found is that we can pass only button-id prop.

Describe the solution you'd like

The solution is to provide button-attributes prop, that will be merged with aria-attributes provided by framework itself. BUT framework generated aria-attributes should take precedence.

Example of possible solution:

<b-tab :button-attributes="{ 'data-t-foo': 'bar' }">...</b-tab>

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