Kanban ยท console.warn
a card pop-out needs children.factory (a createGrid), children.render, or children.asBoard.
Printed by Kanban, prefixed [lattice], since 1.34.0.
Warnings reference › kanban:children-factory
- Identifier
kanban:children-factory- Raised by
- Kanban
- Since
- 1.34.0
What happened
A card was expanded to show its children and the board had no way to build the pop-out: no children.factory, no children.render, no children.asBoard, and no LatticeGrid.createGrid on the global. The pop-out is empty and destroying it does nothing.
The fix
Hand the board a factory when you create it - usually createGrid - or render the children yourself with children.render, or show them as a nested board with children.asBoard: true.
The smallest fix
import { createGrid } from '@toclocoinc/lattice-grid';
createKanban(el, { rows, columnProperty: 'status', children: { factory: createGrid, rows: 'tasks' } });
Reference
Covered in full at the API reference.