Add a way to prevent tabs switching #4273
Is your feature request related to a problem? Please describe...
I have a b-tabs with form in b-tab. If the form isn't saved before the tab is switch, I would like to prevent the tabs from switching to an other tab
Describe the solution you'd like
An event could be fired before changing the tab and preventDefault() or return false could stop the tab switching process
You can set the
For accessibility reasons, it is best to present the user with a disabled tab button than one that is clickable but doesn't do anything (as