Fields

Fields hold data that can be edited in the dashboard. Alinea ships with a number of useful fields that can be added to by creating custom fields.

Configuration

While every field will have unique properties, there are a few properties that are usually available.

initialValue

Prefill the fields value.

hidden

Hide this field in the dashboard but keep its value intact.

help

Display a help text next to the fields label.

inline

Show a minimal version of the field. In most cases this will mean the input label will be hidden, and the label will show up as a placeholder instead.

width

Setting a width value will scale the fields width down, use a number between 0 and 1. This allows you to compose the dashboard UI better based on the content of the fields.