View Source Surface.Components.Form.Input.InputContext (Surface Form v0.2.0)
This module is deprecated. Use option from_context instead.
Retrieves form
and field
values from the context.
This module is deprecated. Use option from_context
instead. Example:
prop form, :form, from_context: {Form, :form}
Properties
- assigns :map - The assigns of the host component
Slots
- default, arg: %{form: :form, field: :any} - The code containing the input control
Summary
Functions
Callback implementation for Surface.Component.render/1
.
Functions
Callback implementation for Surface.Component.render/1
.