Skip to content

[RangePicker]展示的日期范围可以用slot来自定义么 #8161

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

Open
1 task done
appleqzw opened this issue May 8, 2025 · 1 comment
Open
1 task done

[RangePicker]展示的日期范围可以用slot来自定义么 #8161

appleqzw opened this issue May 8, 2025 · 1 comment

Comments

@appleqzw
Copy link

appleqzw commented May 8, 2025

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

比如我点击了预设范围里的过去7天,我希望日期框显示的是"过去7天"这4个字,而不是过去7天对应的YYYY-MM-DD - YYYY-MM-DD

What does the proposed API look like?

以slot的形式支持

@appleqzw
Copy link
Author

appleqzw commented May 8, 2025

另外我应该如何区分是点击的预设选项还是手动点击的面板里的日期?

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