Lattice Grid Buy a licence

designer ยท console.warn

designer.assist: there is no source the guar...

Printed by designer, prefixed [lattice], since 1.89.0.

Warnings reference › designer:assist:source

Identifier
designer:assist:source
Raised by
designer
Since
1.89.0

What happened

The assistant asks over one source's columns, and every source the designer has is either hidden by the guardrails or has no field the guardrails allow, so nothing was asked and the result's spec is null.

The fix

Give the designer a source the guardrails allow with at least one allowed field.

The smallest fix

createDesigner(el, { sources: { sales: { kind: 'rows', rows } }, guardrails: { sources: ['sales'] } });

Reference

Covered in full at the API reference.