Why is my field not auto-initializing?

See all questions

How auto-initialization works

There could be several reasons why a field isn't auto-initializing.

Currently, field auto-initialization is triggered only on the event where

  • a supertag is applied to a node, and
  • the field is in a placeholder state (i.e. doesn't exist/have its own nodeID).

Fields will therefore not auto-initialize under the following events:

  • 1. When added anywhere as a solo field
  • 2. On nodes where the supertag is already applied and the field is added after the fact
  • 3. If the field is nested under a node in the supertag template. Fields have to be direct children to the supertag to auto-initialize

The next question is likely: can I trigger auto-initialization somehow?

As a result of how initialization is triggered today, there is an unintentional quirk that can be used to re-initialize fields.

For fields that fall under category 2 (from the list above), it is possible to trigger initialization by applying any supertag to the node. The fields have to be in a placeholder state, or it won't work. Video demo:

Related docs: