Docs(en-US): [Form] (#22268)

pull/22383/head
Hazel 2023-02-09 21:11:44 +08:00 committed by GitHub
parent 5ab93421b4
commit 3dd2a885f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -520,7 +520,7 @@ When an `el-form-item` is nested in another `el-form-item`, its label width will
All components in a Form inherit their `size` attribute from that Form. Similarly, FormItem also has a `size` attribute. All components in a Form inherit their `size` attribute from that Form. Similarly, FormItem also has a `size` attribute.
:::demo Still you can fine tune each component's `size` if you don't want that component to inherit its size from From or FormIten. :::demo Still you can fine tune each component's `size` if you don't want that component to inherit its size from From or FormItem.
```html ```html
<el-form ref="form" :model="sizeForm" label-width="120px" size="mini"> <el-form ref="form" :model="sizeForm" label-width="120px" size="mini">
<el-form-item label="Activity name"> <el-form-item label="Activity name">