View Source Surface.Components.Form.FieldContext (surface v0.8.2)
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
Properties
- name :any, required: true - The field name
slots
Slots
- default, required: true - The content for the field
Link to this section Summary
Functions
Callback implementation for Surface.Component.render/1
.
Link to this section Functions
Callback implementation for Surface.Component.render/1
.