AshFormBuilder.FormConfig (AshFormBuilder v0.4.0)

View Source

Struct representing one form declaration inside a forms do block.

Each form :action do ... end entity in the DSL produces one of these, carrying the per-action configuration (submit label, fields, nested forms, ignore list, etc.).

Summary

Types

t()

@type t() :: %AshFormBuilder.FormConfig{
  __spark_metadata__: term(),
  accent: atom(),
  action: atom(),
  creatable: boolean(),
  create_action: atom(),
  entities: list(),
  field_order: [atom()] | nil,
  form_id: String.t() | nil,
  ignore_fields: [atom()],
  include_timestamps: boolean(),
  module: module() | nil,
  submit_label: String.t(),
  theme: module() | nil,
  transitions: :none | :subtle | :smooth,
  wrapper_class: String.t()
}