WritingStyleTemplateField

Updated at:
NameTypeDescriptionExample

object

The writing style form field definition.

MinItemLength

integer

The minimum length of each array element.

1000

Max

number

The maximum numeric input value.

2000

MinLength

integer

The minimum text input length.

20

MaxLength

integer

The maximum text input length.

2000

MaxItemLength

integer

The maximum length of each array element.

4000

Name

string

The form name.

The field name.

BuildIn

boolean

Indicates whether this is a built-in field.

true

Enums

array

The enumerated values of the form.

object

An enumerated value object.

CascadingFields

array

The cascading fields. For details, see the definition of the notice writing style.

string

A cascading field.

A cascading field.

Key

string

The unique key of the enumerated value.

The enumerated value key.

Name

string

The name of the enumerated value.

The enumerated value name.

Min

number

The minimum numeric input value.

1

Required

boolean

Indicates whether the form field is required.

false

MaxItem

integer

The maximum number of array elements.

10

InitialValue

string

The initial value.

The initial value.

CascadingFields

array

The cascading field definitions. For usage, see the definition of the notice writing style.

WritingStyleTemplateField

A cascading field.

Style

object

The frontend style definition.

Placeholder

string

The input placeholder.

Enter a prompt

Type

string

The frontend component type for the form. Valid values: {"input", "textArea", "inputNumber", "datePicker", "segmented", "select", "inputWord", "inputTree"}.

media

ShowTime

boolean

Specifies whether the date picker supports time selection.

Suffix

string

The input suffix, used to display a unit.

The suffix.

Description

string

The input hint text.

The input hint text.

Format

string

The date format.

yyyy-mm-dd

Key

string

The form field key.

topic