Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

Wrong $selecteIndex value for deselect callback #6107

@furti

Description

@furti

Bug description

The deselect callback can take the $selectedIndex as a parameter. But this is always the index of the tab in the internal array of the tabset. But it should be the index of the tab itself.

When the index attribute of a tab is specified I would assume that the $selectedIndex parameter of the deselect callback is the index specified on the tab.

Link to minimally-working plunker that reproduces the issue:

http://plnkr.co/edit/n2oXnJ5TqDQqfJBz5ur0?p=preview

Version of Angular, UIBS, and Bootstrap

Angular: 1.5.7

UIBS: 2.0.0

Bootstrap: 3.3.6

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions