Inputs
A wrapper for Phoenix.HTML.Form.html.inputs_for/3
Additionally, adds the generated form instance that is returned by inputs_for/3
into the context, making it available to any child input.
A wrapper for Phoenix.HTML.Form.html.inputs_for/3
Additionally, adds the generated form instance that is returned by inputs_for/3
into the context, making it available to any child input.
Name | Description | Type | Values | Default |
---|---|---|---|---|
form
|
The parent form.
It should either be a |
:form
| — | — |
for
| An atom or string representing the field related to the child inputs. |
:any
| — | — |
opts
|
Extra options for inputs_for/3 .
See |
:keyword
| — |
[]
|
Name | Description | Arguments |
---|---|---|
default
| The code containing the input controls. | — |
Name | Description |
---|
Name | Description |
---|