Skip to main content

Container properties

Attribute name explanation

  • Is json configurable: ✔️ means that it can be set in both jsx code and json code, otherwise it can only be written in jsx code.
  • Is the input component unique?: ✔️ means that the current attribute is only available in the input input type component, such as Input, ACL.
  • Whether the display component is unique: ✔️ means that the current attribute is only available for non-input input type components, and non-layout components, such as Text, Image.

Container Props

NameTypeDefaultSupports Variable PatternWhether the json is configurableWhether the input component is uniqueWhether or not it is unique to the display componentDescription
idstring✔️The ID of the container
classNamestring✔️✔️The className of the container
styleobject✔️The style of the container
titlestring✔️The title of the container
valueanyThe value of the container is also the value of the component, and it varies according to different components.
valueExpressionstring✔️✔️The value of the component is calculated by this expression. The expression supports four operations. There must be spaces on the left and right operators, similar to calc of css, such as calc(:value1 + value2 * 3)
defaultValueany✔️The default value of the container will only take effect when the entire form does not have a value.
valueFieldstring✔️✔️The default value of the container will only take effect when the entire form does not have a value.
hiddenConditionalPropertyPropType(bool)false✔️Whether it is hidden or not
disabledConditionalPropertyPropType(bool)false✔️✔️Whether it is forbidden or not
readonlyConditionalPropertyPropType(bool)false✔️✔️Whether it is read-only or not
componentPropsobject✔️Component properties
fieldTitleProps{ showColon: bool }✔️Properties of the container title
validation{ required: bool }✔️Component verification method
statusArray<'error' | 'warning' | 'error'>✔️Component status information
helperstring✔️✔️Component Help Information
onChangefunc✔️Call this function when the component value changes
onTouchChangedfunc✔️Call this function when a component touches

The container only supports the above attributes

ref will be passed to each component to implement the corresponding API.