PhoenixFilament.Form.Section (PhoenixFilament v0.1.0)

Copy Markdown View Source

Groups form fields under a labeled heading.

Renders as a <fieldset> with <legend> in the form builder. Supports visible_when for conditional section visibility.

Summary

Types

t()

@type t() :: %PhoenixFilament.Form.Section{
  items: [PhoenixFilament.Field.t() | PhoenixFilament.Form.Columns.t()],
  label: String.t(),
  visible_when: {atom(), atom(), any()} | nil
}