Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] [Component] [select] [ElSelect] 切换单选/多选 异常 #8421

Closed
L1yp opened this issue Jun 22, 2022 · 4 comments
Closed

[Bug Report] [Component] [select] [ElSelect] 切换单选/多选 异常 #8421

L1yp opened this issue Jun 22, 2022 · 4 comments

Comments

@L1yp
Copy link

L1yp commented Jun 22, 2022

Bug Type: Component

Environment

  • Vue Version: 3.2.37
  • Element Plus Version: 2.2.6
  • Browser / OS: Chrome/102.0.5005.124
  • Build Tool: Vite

Reproduction

Related Component

  • el-select

Reproduction Link

Element Plus Playground

Steps to reproduce

单击toggle按钮

What is Expected?

正常切换单选/多选,无异常无报错。
单选/多选的input高度也不一致,如果可以希望一起修复

What is actually happening?

单选=>多选会异常

Additional comments

谢谢

@L1yp
Copy link
Author

L1yp commented Jun 22, 2022

naiveUI的select:codesanbox

@chenxch
Copy link
Member

chenxch commented Jun 22, 2022

临时解决方案
样式问题我会进行修复,multiple这个需要讨论一下。

@L1yp
Copy link
Author

L1yp commented Jun 23, 2022

我理解了 通过key变化来让vue刷新dom?我之前用v-if切换没成功

临时解决方案 样式问题我会进行修复,multiple这个需要讨论一下。

谢谢您~

@L1yp L1yp closed this as completed Jun 27, 2022
@hansonfang
Copy link

临时解决方案 样式问题我会进行修复,multiple这个需要讨论一下。

any progress about this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants