Field

Usage

Fieldrequiredstring
'default'

The description can be set as prop or in the default slot with full markdown support.

::d-field{name="Field" type="string" defaultValue="'default'" required}
The _description_ can be set as prop or in the default slot with full **markdown** support.
::

The text required is configurable in main.fieldRequiredText.

Props

namestring
Field name
typestring
Field type
descriptionstring
Field description
defaultValuestring
Field default value
requiredboolean
Whether the field is required