BitstylesPhoenix.Component.Form.ui_wrapped_input
You're seeing just the function
ui_wrapped_input
, go back to BitstylesPhoenix.Component.Form module for more information.
Component for rendering custom wrapped inputs in a label and with errors.
Attributes
iex> assigns=%{form: @form}
...> render ~H"""
...> <.ui_wrapped_input form={@form} field={:name} label="Current name">
...> <input type="checkbox" id="user_name" whatever="foo" />
...> </.ui_wrapped_input>
...> """
"""
<label for="user_name">
<input type="checkbox" id="user_name" whatever="foo"/>
Current name
</label>
"""