Prop
prop
is a important concept of Vue Component. More Detail.
Name | Type | Default | Necessary | Description |
---|---|---|---|---|
id | String | '' | N | It will be add to DOM attribute of the form. |
title | String | '' | N | Title of the form, you can use slot[name='title'] either. |
labelWidth | String | 4 | N | Label's width ranged from 1 to 23, which is using ElementUI Layout.More Detail |
elements | Array | [] | Y | Elements' Config, the data source of the form. |