API Reference DynamicForm v#0.21.0

Copy Markdown View Source

Modules

DynamicForm - A Phoenix LiveView library for creating dynamic forms with full server-side validation using changesets. Also supports building forms through a WYSIWYG interface.

Helper functions for creating dynamic changesets from DynamicForm.Instance configurations.

Resolution and dispatch for the pluggable components module.

Provides core UI components.

A LiveView component for handling direct-to-storage file uploads in dynamic forms.

Resolution for custom field types.

A module providing Internationalization with a gettext-based API.

Configuration struct that defines the complete form structure using SurveyJS-compatible format.

Decodes SurveyJS-compatible JSON data or maps into DynamicForm.Instance structs.

Represents a non-input element in a form using SurveyJS-compatible format.

Converts <:field>, <:group>, and <:nested> slot entries from DynamicForm.form/1 into a DynamicForm.Instance struct.

Represents a form question (input field) using SurveyJS-compatible format.

Represents a validation rule for a form question using SurveyJS-compatible format.

Nested/repeating child forms — the SurveyJS paneldynamic question type.

The value threaded through the form lifecycle.

A pure functional component that renders dynamic forms using SurveyJS-compatible format.

A LiveComponent version of the DynamicForm renderer with automatic state management.