vue-strap
vue-strap copied to clipboard
Tabs generated for list don't support removal of headers
When I generate tabs from a list like this:
<tabs nav-style="tabs" v-model="activeTab">
<tab v-for="(myTab) in myTabs" v-bind:header="myTab.name">
...
Then I can add and remove new tabs. However, on removal (like this.myTabs.splice(0, 1)
) the headers don't get properly updated.
I guess this is because they are explicitly added on created
, but not being removed in beforeDestroy
in the Tab component
Same error!
Same here.
I wrote a Pull Request, but i'm not sure this repository is still maintained :(