Skip to main content

WritingStyleTemplateField

NameTypeDescriptionExample
objectThe writing style form field definition.
MinItemLengthintegerThe minimum length of each array element.1000
MaxnumberThe maximum numeric input value.2000
MinLengthintegerThe minimum text input length.20
MaxLengthintegerThe maximum text input length.2000
MaxItemLengthintegerThe maximum length of each array element.4000
NamestringThe form name.The field name.
BuildInbooleanIndicates whether this is a built-in field.true
EnumsarrayThe enumerated values of the form.
objectAn enumerated value object.
CascadingFieldsarrayThe cascading fields. For details, see the definition of the notice writing style.
stringA cascading field.A cascading field.
KeystringThe unique key of the enumerated value.The enumerated value key.
NamestringThe name of the enumerated value.The enumerated value name.
MinnumberThe minimum numeric input value.1
RequiredbooleanIndicates whether the form field is required.false
MaxItemintegerThe maximum number of array elements.10
InitialValuestringThe initial value.The initial value.
CascadingFieldsarrayThe cascading field definitions. For usage, see the definition of the notice writing style.
WritingStyleTemplateFieldA cascading field.
StyleobjectThe frontend style definition.
PlaceholderstringThe input placeholder.Enter a prompt
TypestringThe frontend component type for the form. Valid values: {"input", "textArea", "inputNumber", "datePicker", "segmented", "select", "inputWord", "inputTree"}.media
ShowTimebooleanSpecifies whether the date picker supports time selection.
SuffixstringThe input suffix, used to display a unit.The suffix.
DescriptionstringThe input hint text.The input hint text.
FormatstringThe date format.yyyy-mm-dd
KeystringThe form field key.topic
Agent Development
Agent Context
Agent Governance & Evolution
Store
Application Marketplace