Rendro.FormField (Rendro v0.2.0)

Copy Markdown View Source

Interactive form field content with deterministic authoring defaults.

Supported widget families stay intentionally narrow: text fields, checkboxes, and radio widgets only. Authoring-time editing appearance configuration is currently limited to the built-in Helvetica path.

Summary

Types

Supported AcroForm widget families exposed through Rendro.form_field/3.

t()

Types

editing_font()

@type editing_font() :: String.t()

field_type()

@type field_type() :: :text | :checkbox | :radio

Supported AcroForm widget families exposed through Rendro.form_field/3.

t()

@type t() :: %Rendro.FormField{
  checked: boolean(),
  export_value: String.t(),
  font: editing_font(),
  group: String.t() | nil,
  name: String.t(),
  size: number(),
  type: field_type(),
  value: String.t()
}