Surface.Components.Form.FieldContext (surface v0.3.2) View Source
Defines a context for a form field but without the <div>
wrapper in Field
.
Like the Field
component, sets the provided field name into the context
so child components like input fields and labels can retrieve it and use it as
the default field.
Properties
- name :atom, required: true - The field name.
Link to this section Summary
Functions
Callback implementation for Phoenix.LiveComponent.mount/1
.
Callback implementation for Phoenix.LiveComponent.render/1
.
Callback implementation for Phoenix.LiveComponent.update/2
.
Link to this section Functions
Callback implementation for Phoenix.LiveComponent.mount/1
.
Callback implementation for Phoenix.LiveComponent.render/1
.
Callback implementation for Phoenix.LiveComponent.update/2
.