Lattice Grid Buy a licence

Vue adapter ยท console.warn

LatticeTabs: `tabs` changed (a label, a badg...

Printed by Vue adapter, prefixed [lattice], since 1.66.0.

Warnings reference › vue.tabs.mountOnly.tabs

Identifier
vue.tabs.mountOnly.tabs
Raised by
Vue adapter
Since
1.66.0

What happened

A Vue watcher on the tabs prop saw a new array after the strip was built. The tabs module takes its descriptors at construction only, so the watcher has nothing to apply; it reports once rather than rebuilding, because a rebuild would close the open tab and drop its content's state.

The fix

Put a changing :key on the component when a genuine rebuild is intended. Keep a live badge in your own template instead.

The smallest fix

<LatticeTabs :key="workspaceId" :tabs="tabs" v-model:active="active" />

Reference

Covered in full at the API reference.