battleaxedotco / brutalism

Battleaxe's component library for Adobe CEP panels
https://battleaxe.dev/brutalism-docs/
MIT License
88 stars 12 forks source link

Tabs should be able to be individually locked/disabled #9

Closed Inventsable closed 4 years ago

Inventsable commented 4 years ago

Vue Router provides Navigation Guards for this internally to prevent users from accessing a route, but Tabs doesn't obey this currently. There could be instances where you want the user to see routes/Tabs that aren't currently accessible until you've met some requirement, in which case Tabs should have individual disabled props inside each item.

Currently Tabs only supports total disabling of the parent, not on a per-child basis.

Inventsable commented 4 years ago

Fixed via 98dea449b3e1a36c84adf28ecf286275455c56ff