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

select组件的"selectMode": "list"模式 点击搜索之后返回的数据选中之后显示的是value而不是label #11374

Open
gaochaoGin opened this issue Dec 16, 2024 · 0 comments

Comments

@gaochaoGin
Copy link

描述问题:

select组件的"selectMode": "list"模式 点击搜索之后返回的数据选中之后显示的是value而不是label

截图或视频:

241a9df05d991a3db9c173d1a94fa29a

可以的话,尽可能提供截图或视频来补充描述你的问题...

如何复现(请务必完整填写下面内容):

  1. 你是如何使用 amis 的?
    npm
  2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在
    6.10
  3. 粘贴有问题的完整 amis schema 代码:
{
              "type": "select",
              "name": "DepartmentID",
              "label": "企业",
              "clearable": true,
              "searchable": true,
              "selectFirst": false,
              "source": "/xxxx/xxxx?kname=${term}",
              "placeholder": "请输入企业",
              "required": true,
              "selectMode": "list",
              "searchApi": "/xxxx/xxx?kname=${term}"
            }
  1. 操作步骤
    select组件的"selectMode": "list"模式 点击搜索之后返回的数据选中之后显示的是value而不是label
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

1 participant