LightningWeb.CredentialLive.RawBodyComponent (Lightning v2.15.0-pre5)

View Source

Component for rendering raw JSON credential body fields.

Validates that the body is non-empty and valid JSON. Uses a changeset to integrate with Phoenix's form error display mechanism.

Summary

Functions

fieldset(assigns)

Attributes

  • form (:map) (required)
  • current_body (:map) - Defaults to %{}.
  • touched (:boolean) - Defaults to false.

Slots

  • inner_block