Skip to content

Form Attributes Documentation

Form

ParameterDescriptionTypeDefault Value
formBound form valueobject-
optionForm configuration options, refer to Option configurationTableOption-
isViewWhether to view modebooleanfalse
contentStyleContent area styleCSSProperties-
menuStyleOperation area styleCSSProperties-

Option

ParameterDescriptionTypeDefault Value
labelWidthForm item label widthstring90px
formSpanNumber of grid columns occupiednumber12
menuBtnWhether to display the form operation barbooleantrue
submitBtnWhether to display the submit buttonbooleantrue
submitBtnTextSubmit button textstringSubmit
cancelBtnWhether to display the cancel buttonbooleantrue
cancelBtnTextCancel button textstringCancel
viewTabsTabViewTabs[]-
columnForm item configurationsFormColumnProps[]-
groupForm grouping configurationGroupInterface[]-

Column - Common Properties

ParameterDescriptionTypeDefault Value
labelForm item labelstring | VNode-
propForm item property namestring-
typeForm item typeFormItemTypeinput
spanForm item grid spannumber12
rulesForm validation rules
RulesType
-
placeholderPlaceholder textstring-
clearableWhether is clearablebooleanfalse
disabledWhether is disabledbooleanfalse
tipHelper text for contentstring | VNode-
tipPlacementPosition of helper text
enum
right-start
styleForm item styleCSSProperties-