Readonly #

The readonly field is shows a value but cannot be modified by the form user. The value can be a string or a number.



Properties #

propertyvalue typeoptionaldescription
keystringmandatoryKeys are for internal use and must be unique
titlestringoptionalThe title of the element
defaultstringmandatoryThe value of the element
tipstringoptional (default: null)Text entered here with markdown formatting is displayed as context help in an overlay box

Sample #

Configuration #

default: some value
key: sample_field
title: Sample field
type: readonly
default = "some value"
key = "sample_field"
title = "Sample field"
type = "readonly"
   "default": "some value",
   "key": "sample_field",
   "title": "Sample field",
   "type": "readonly"

Output #

sample_field: some value