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

DatePicker 新增 onSelect 方法 #1592

Closed
ksblklu opened this issue Feb 9, 2021 · 1 comment · Fixed by #1599 or #1600
Closed

DatePicker 新增 onSelect 方法 #1592

ksblklu opened this issue Feb 9, 2021 · 1 comment · Fixed by #1599 or #1600
Labels
comp:datepicker enhancement New feature or request

Comments

@ksblklu
Copy link

ksblklu commented Feb 9, 2021

期望的功能
需求:需要将能够选择的时间范围设置一个max值,在选择单边时间后,能够动态设置datepicker的可选范围

@ksblklu ksblklu added the enhancement New feature or request label Feb 9, 2021
GleanCoder1116 pushed a commit that referenced this issue Feb 20, 2021
@GleanCoder1116 GleanCoder1116 changed the title DatePicker在type为range时,支持单边选择事件回调 DatePicker 新增 onSelect 方法 Feb 20, 2021
@GleanCoder1116
Copy link
Collaborator

通过新增 onSelect 方法,结合disabledDate 控制datepicker的可选范围

@GleanCoder1116 GleanCoder1116 linked a pull request Feb 20, 2021 that will close this issue
GleanCoder1116 pushed a commit that referenced this issue Feb 21, 2021
GleanCoder1116 pushed a commit that referenced this issue Feb 21, 2021
GleanCoder1116 pushed a commit that referenced this issue Feb 21, 2021
@GleanCoder1116 GleanCoder1116 linked a pull request Feb 23, 2021 that will close this issue
GleanCoder1116 added a commit that referenced this issue Feb 23, 2021
@GleanCoder1116 GleanCoder1116 mentioned this issue Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:datepicker enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants