Text fields can hold single or multiline text and can be content restricted by using ruleset.
{
"key": "intro_title",
"label": "Intro title",
"type": "Text"
}Properties
autogrow:Null<Bool>
Text field will expand if its content doesn't fit on a single line.
"autogrow": truehelp:Null<Dynamic>
Adding help or instructional text to a field.
"help": "This field can only contain letters."max_length:Null<Int>
Can limit the length of the text field. There will be a counter to see how many characters you already have.
"max_length": 160provides_metadata:Null<String>
Can prefill metadata like the title or the description.
"provides_metadata": "title"
"provides_metadata": "description"ruleset:Null<String>
Restrict content to a certain ruleset.
"ruleset": "email"
"ruleset": "number"
"ruleset": "url"show_when:Null<EitherType<ShowOptions, Array<ShowOptions>>>
The "value" can be set to "null" of "!null" to check if something is empty.