Lattice Grid Buy a licence

AI ยท console.warn

ai.actorBar() needs a DOM element to mount into; none was given and there is no document.

Printed by AI, prefixed [lattice], since 1.44.0.

Warnings referenceai:actorbar:no-el

Identifier
ai:actorbar:no-el
Raised by
AI
Since
1.44.0

What happened

The governed-actor bar - the propose/preview/approve strip - had no element to mount into. Nothing was mounted, so there is no way for a user to approve a proposal in the UI, though propose() and applyProposal() still work from code.

The fix

Pass the element, or set element on the controller's config.

The smallest fix

ai.actorBar(document.querySelector('#actor'));

Reference

Covered in full at the API reference.