Aurora. Uix. Templates. Basic. Renderers. FieldRenderer
(Aurora UIX v0.1.5)
Copy Markdown
Renders a show/form field by resolving its renderer and invoking it.
The renderer to call is chosen by Aurora.Uix.Renderers.resolve/2 from the field's
slots and the current layout type; the default rendering (standard input, plus
association / embed / upload delegation) lives in
Aurora.Uix.Templates.Basic.Renderers.DefaultRenderer.
Summary
Functions
Renders a field for the current layout type.
Functions
@spec render(map()) :: Phoenix.LiveView.Rendered.t()
Renders a field for the current layout type.
Parameters
assigns(map()) - LiveView assigns containing::auix(map()) - Aurora UIX context with configuration and:layout_type.
Returns
Phoenix.LiveView.Rendered.t() - The rendered field component.