diff --git a/src/components/calendar/Calendar.js b/src/components/calendar/Calendar.js index 553be65195..dd23726cac 100644 --- a/src/components/calendar/Calendar.js +++ b/src/components/calendar/Calendar.js @@ -25,7 +25,7 @@ export class Calendar extends Component { inputId: null, inputStyle: null, inputClassName: null, - inputMode: 'text', + inputMode: null, required: false, readOnlyInput: false, keepInvalid: false, @@ -3055,7 +3055,7 @@ export class Calendar extends Component { return ( + onInput={this.onUserInput} onFocus={this.onInputFocus} onBlur={this.onInputBlur} onKeyDown={this.onInputKeyDown} aria-labelledby={this.props.ariaLabelledBy} inputMode={this.props.inputMode || 'none'} /> ); } diff --git a/src/showcase/calendar/CalendarDoc.js b/src/showcase/calendar/CalendarDoc.js index 80c088b57d..ebe18db1fd 100644 --- a/src/showcase/calendar/CalendarDoc.js +++ b/src/showcase/calendar/CalendarDoc.js @@ -838,7 +838,7 @@ const monthNavigatorTemplate = (options) => { inputMode string - text + null HTML inputmode attribute of input.