Search
Search
Read-only field derived from the other fields of the entry.
New in v2 Only available with Sveltia CMS
The value is rebuilt as the other fields are typed. Every other supported CMS emits an empty field, so the value stays typed by hand there.
{{ partial "admin/widgets/compute.js" $args }}
| Parameter | Type | Required | Description |
|---|---|---|---|
label | string | yes | Field label |
name | string | yes | Field name |
value | string | yes | Value template |
hint | string | — | Help text |
i18n | boolean or string | — | i18n mode (default: true) |
required | boolean | — | Mark as required |
A template references another field with {{fields.name}} and accepts a string transformation after a pipe.
{{fields.title | slugify}}
Inside a List, {{index}} returns the item position, stored as a number.