Closed harogaston closed 7 years ago
See #20.
@mdehoog, you mention using the readonly option, yet adding that directly to the component property list is not working, neither is hideMobileKeyboard="true"
.
<div className='admin-broadcast-scheduler'>
<DateTimeInput
readonly="true"
name="dateTime"
placeholder="Date Time"
value={this.state.dateTime}
iconPosition="left"
minDate={Moment(new Date())}
onChange={this.handleDateChange} />
</div>
Do you have any suggestions or ideas on how to prevent my mobile keyboard from appearing?
Self explanatory I guess. I would use an option to disable interaction with the component. As for now I'm using css property
pointer-events:none
to provide this functionality.