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

[Component] [select-v2] ElSelectV2 allowCreate问题 #16640

Open
xdewx opened this issue Apr 24, 2024 · 0 comments
Open

[Component] [select-v2] ElSelectV2 allowCreate问题 #16640

xdewx opened this issue Apr 24, 2024 · 0 comments

Comments

@xdewx
Copy link

xdewx commented Apr 24, 2024

Bug Type: Component

Environment

  • Vue Version: 3.4.24
  • Element Plus Version: 2.7.1
  • Browser / OS: linux chrome
  • Build Tool: Vite

Reproduction

Related Component

  • el-select-v2

Reproduction Link

Element Plus Playground

Steps to reproduce

  1. 随便选择一个选项查看msg格式为JSON
  2. 随便创建一个option,查看msg,发现为普通字符串

What is Expected?

当value为object时,如果用户创建一个新的值,那么v-model得到的值也应为object,object的值根据value-key、props得到

What is actually happening?

实际上为一个普通的字符串,格式不统一

Additional comments

(empty)

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

No branches or pull requests

1 participant