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 通过menuTpl实现多行option,option被遮挡 #11639

Open
findlay-best-wishes opened this issue Feb 20, 2025 · 0 comments
Open

Select 通过menuTpl实现多行option,option被遮挡 #11639

findlay-best-wishes opened this issue Feb 20, 2025 · 0 comments

Comments

@findlay-best-wishes
Copy link

findlay-best-wishes commented Feb 20, 2025

描述问题:

Select 通过menuTpl实现多行option,option被遮挡

截图或视频:

Image Image

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

  1. 你是如何使用 amis 的?
    在线demo
    https://aisuda.github.io/amis-editor-demo

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

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

{
  "type": "page",
  "title": "Hello world",
  "body": [
    {
      "type": "select",
      "label": "选项",
      "name": "select",
      "options": [
        {
          "label": "选项A",
          "value": "A"
        },
        {
          "label": "选项B",
          "value": "B"
        }
      ],
      "id": "u:cb2cea91e0ce",
      "multiple": false,
      "menuTpl": "<div><div>${label}</div><div>${label}</div> </div>",
      "itemHeight": 70
    }
  ],
  "id": "u:09f1354c1f96",
  "asideResizor": false,
  "pullRefresh": {
    "disabled": true
  }
}
  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