Template control.edit

Language: handlebars

Outputs control wrapper and either outputs explicit value or yields to specificied control template

{{#template "control.edit" controlid="foo" label="Foo label"}}

NB. It is usually preferable to use control.view template rather than calling this directly

Name Type Attributes Description
controlid string

Id for control

label string

Text for control’s label

required boolean <optional>

Whether control is required or optional

note string <optional>

Additional notes to show for control

messages object <optional>

Any notifications (errors/warnings/info) to show for control