diff --git a/docs/en-US/component/form.md b/docs/en-US/component/form.md index 271fa6c70d..a3639f6fa7 100644 --- a/docs/en-US/component/form.md +++ b/docs/en-US/component/form.md @@ -37,7 +37,7 @@ To prevent this behavior, you can add `@submit.prevent` on ``. When the vertical space is limited and the form is relatively simple, you can put it in one line. -:::demo Set the `inline` attribute to `true` and the form will be inline. +:::demo Set the `inline` attribute to `true` and the form will be inline. After ^(2.3.6), the ElInput component will get a fixed width to avoid the width change caused by the clearable icon. form/inline-form diff --git a/docs/examples/form/inline-form.vue b/docs/examples/form/inline-form.vue index 651deaa6fb..bdb68631b0 100644 --- a/docs/examples/form/inline-form.vue +++ b/docs/examples/form/inline-form.vue @@ -1,14 +1,26 @@