Skip to content

DatePicker范围选择能否与react版功能一致? #8150

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
leekbillow opened this issue Apr 30, 2025 · 0 comments
Open
1 task done

DatePicker范围选择能否与react版功能一致? #8150

leekbillow opened this issue Apr 30, 2025 · 0 comments

Comments

@leekbillow
Copy link

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

What problem does this feature solve?

使用体验提升且功能保持一致

What does the proposed API look like?

antdesign的重心在react版,所以react版功能更多可以理解,但同样的功能某些设计是不是应该尽量保持一致呢?
例如在日期范围DatePicker(range)组件中,react版本可以任选两个日期自动判断方向生成范围,而vue版选择一项后会自动禁用之前/之后的日期无法选择(而且没有提供关闭功能)

react版可以任意选择:
Image

vue版自动禁用只能按顺序选择:
Image

不知道其它组件功能是否也有不一样的情况?个人认为可以少功能,但已有功能最好保持一致

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