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 minuteStep 设置无效 #1020

Closed
noahlu opened this issue Mar 20, 2017 · 2 comments
Closed

DatePicker minuteStep 设置无效 #1020

noahlu opened this issue Mar 20, 2017 · 2 comments
Assignees
Labels

Comments

@noahlu
Copy link

noahlu commented Mar 20, 2017

          <DatePicker 
            mode="datetime"
            minDate={this.state.startDate}
            date={this.state.startDate}
            minuteStep={5}
            format={this.dateFormatter}
            onChange={this.onStartDateChange}
            value={this.state.startDate}
          >
            <DateItem>开始时间</DateItem>
          </DatePicker>

其中 DateItem 跟 ListItem 实现类似,应该不影响,不过显示的时间选择,间隔分钟还是一分钟。
是我漏了什么吗?

从 antd 组件找过来的 react-component/m-date-picker#25

@paranoidjk paranoidjk self-assigned this Mar 21, 2017
@paranoidjk paranoidjk added the bug label Mar 21, 2017
@noahlu
Copy link
Author

noahlu commented Mar 22, 2017

这个 fix 的 antd-mobile 的 npm 包更新了吗?

@paranoidjk
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants