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

chore(range): panel defaultValue should be relative to startDate/endDate #145

Merged
merged 1 commit into from
Sep 20, 2020

Conversation

kerm1it
Copy link
Member

@kerm1it kerm1it commented Sep 20, 2020

close ant-design/ant-design#23167

用户在面板中选择的时候,如果没有选择日期直接选择时间,之前默认取的日期是当前日期,会存在当前日期被禁用,小于开始日期等情况。

现在改为了选择结束日期的时候,默认值为开始日期,反之亦然。

@vercel
Copy link

vercel bot commented Sep 20, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/react-component/picker/132rn88dl
✅ Preview: https://picker-git-fix-23167.react-component.vercel.app

@kerm1it kerm1it requested a review from afc163 September 20, 2020 12:36
@afc163 afc163 merged commit e1b306c into master Sep 20, 2020
@afc163 afc163 deleted the fix-23167 branch September 20, 2020 13:17
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

Successfully merging this pull request may close these issues.

Range Picker Doesn't Automatically Pick Future Date for End Time
2 participants