Skip to content

[DatePickerIOS] minuteInterval not work with mode="time" minimumDate={min} maximumDate={max} #9566

Closed
@charlesLin

Description

@charlesLin

render() {
let {year, month, day} = new Date();
let min = new Date(year, month, day, 8);
let max = new Date(year, month, day, 22);
return (
<DatePickerIOS
date={this.state.date}
mode="time"
minuteInterval={10}
minimumDate={min} maximumDate={max}
onDateChange={(date) => this.setState({date})}
/>);

I found that minuteInterval works on iOS emulator, but not work at real device both minuteInterval and date range feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions