PhoenixKitDocumentCreator.Web.Components.VariableConfigForm (PhoenixKitDocumentCreator v0.4.2)

Copy Markdown View Source

Renders per-variable config fields for :image and :image_list variables.

Emits phx-change events on the enclosing form so the parent LiveView can persist the updated config into the template's variables jsonb column.

Non-image variable types render nothing.

Summary

Functions

config_form(assigns)

Attributes

  • variable (:map) (required)