Lattice Grid Buy a licence

dashboard ยท console.warn

createDashboard: {reason}; a spec is { layou...

Printed by dashboard, prefixed [lattice], since 1.77.0.

Warnings reference › dashboard:spec

Identifier
dashboard:spec
Raised by
dashboard
Since
1.77.0

What happened

The spec is not an object, or its panels is not an array, so there is nothing to build. Nothing was.

The fix

Pass a spec object with a panels array; validateDashboardSpec(spec) names every problem by path.

The smallest fix

createDashboard(el, { panels: [{ id: 'table', kind: 'grid', options: { rows } }] }, factories);

Reference

Covered in full at the API reference.