我需要做什么才能启用手动日期时间输入?因为它显示为只读。但是一旦将 readOnly 设置为 false (input = {true}) 就会产生一些错误
import React, { Component } from "react";
import DatetimeRangePicker from 'react-datetime-range-picker';
class Test extends Component {
<DatetimeRangePicker
startDate= {this.state.startDate}
endDate={this.state.endDate}
onStartDateBlur={this.startDateBlurHandler}
onEndDateBlur={this.endDateBlurHandler}
timeFormat="HH:mm"
dateFormat="DD/MM/YY"
inputProps={{ placeholder: ('Enter Date')}} />
}