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

时间或日期范围选择器的placeholder没有用 #11405

Open
xiahao90 opened this issue Dec 19, 2024 · 0 comments
Open

时间或日期范围选择器的placeholder没有用 #11405

xiahao90 opened this issue Dec 19, 2024 · 0 comments

Comments

@xiahao90
Copy link
Contributor

描述问题:

InputDateRange 日期范围组件,有个placeholder的属性,设置了实际也没有什么效果,还是显示的“开始时间”与“结束时间”。
希望该类组件能配置两个placeholder,达到效果是“活动开始时间”与“活动结束时间”这种,

截图或视频:

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

  1. 你是如何使用 amis 的?
    sdk6.10.0

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

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

{
  "type": "page",
  "body": {
    "type": "form",
    "debug": true,
    "api": "/amis/api/mock2/form/saveForm",
    "body": [
      {
        "type": "input-date-range",
        "name": "select",
        "placeholder":["活动开始时间","活动结束时间"],
        "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