docs(components): [select] add width change description (#16268)

* docs(components): [select] add width change description

* Update docs/en-US/component/select.md

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>

---------

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
This commit is contained in:
btea
2024-03-27 16:03:30 +08:00
committed by GitHub
parent fd823cd9c6
commit fa91eddb0d

View File

@ -9,6 +9,12 @@ When there are plenty of options, use a drop-down menu to display and select des
:::tip
After version `2.5.0`, the default width of `el-select` changed to `100%`. When used in a inline form, the width will collapse. In order to display the width properly, you need to give `el-select` a specific width.
:::
:::tip
This component requires the `<client-only></client-only>` wrap when used in SSR (eg: [Nuxt](https://nuxt.com/v3)) and SSG (eg: [VitePress](https://vitepress.vuejs.org/)).
:::