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组件搜索后,下拉选项顺序错乱 #11314

Open
nitrohe opened this issue Dec 4, 2024 · 0 comments
Open

select组件搜索后,下拉选项顺序错乱 #11314

nitrohe opened this issue Dec 4, 2024 · 0 comments

Comments

@nitrohe
Copy link

nitrohe commented Dec 4, 2024

描述问题:

select组件搜索后,下拉选项顺序错乱

截图或视频:

未搜索前的下拉选项
image

搜索之后的选项顺序异常
image

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

  1. 你是如何使用 amis 的?
    npm

  2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在
    主干版本

  3. 粘贴有问题的完整 amis schema 代码:

{
  "type": "page",
  "body": {
    "type": "form",
    "body": [
      {
        "label": "多选",
        "type": "select",
        "name": "select2",
        "searchable": true,
        "checkAll": true,
        "multiple": true,
        "clearable": true,
        "options": [
          {
    label: "扩展应用-30个-1年",
    value: '1'
          },
          {
    label: "扩展应用-50个-1年",
    value: '2'
          },
          {
    label: "扩展应用-150个-1年",
    value: '3'
          },
          {
    label: "扩展应用-200个-1年",
    value: '4'
          },
          {
    label: "扩展应用-300个-1年",
    value: '5'
          }
        ]
      }
    ]
  }
}
  1. 操作步骤
    关键字搜索必现
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