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 support Range DatePicker #1232

Closed
pingan1927 opened this issue Apr 28, 2017 · 4 comments
Closed

DatePicker support Range DatePicker #1232

pingan1927 opened this issue Apr 28, 2017 · 4 comments
Assignees
Milestone

Comments

@pingan1927
Copy link
Contributor

pingan1927 commented Apr 28, 2017

What problem does this feature solve?

support Range DatePicker

What does the proposed API look like?

<DatePicker
  type="multi"
  title="组合DatePicker"
  extra="开始日期至结束日期"
  minStartDate={minDate}
  maxStartDate={maxDate}
  minEndDate={minDate}
  maxEndDate={maxDate}
  onChange={(res) => {
    console.log(res);
  }}
>
  <List.Item arrow="horizontal">range(CST)</List.Item>
</DatePicker>
@pingan1927
Copy link
Contributor Author

pingan1927 commented Apr 28, 2017

比较常用的业务需求,奇岳 会提一个PR。

@pingan1927
Copy link
Contributor Author

default

@pingan1927 pingan1927 self-assigned this Apr 28, 2017
@warmhug
Copy link
Contributor

warmhug commented Apr 28, 2017

可以考虑下像 PickerView 一样、支持 非弹出式的 DatePicker

@pingan1927
Copy link
Contributor Author

这个业务交互同学专门提供的设计,非弹出式的DatePicker 找万焱同学CC来,多支持一些。

@paranoidjk paranoidjk added this to the 1.2.0 milestone May 8, 2017
@paranoidjk paranoidjk modified the milestones: 1.2.0, 1.3.0 Jun 8, 2017
@pingan1927 pingan1927 modified the milestones: 1.3.0, 2.0.0 Jul 10, 2017
@paranoidjk paranoidjk added this to UI Feature in antd-mobile@2.0 Jul 14, 2017
@warmhug warmhug assigned warmhug and unassigned pingan1927 Aug 1, 2017
@warmhug warmhug closed this as completed in a411f49 Aug 1, 2017
lixiaoyang1992 pushed a commit to lixiaoyang1992/ant-design-mobile that referenced this issue Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

3 participants