Skip to content

Commit

Permalink
Refactor #2158
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Jul 6, 2021
1 parent 1b3d272 commit 57794fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/calendar/Calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class Calendar extends Component {
inputId: null,
inputStyle: null,
inputClassName: null,
inputMode: null,
inputMode: 'none',
required: false,
readOnlyInput: false,
keepInvalid: false,
Expand Down Expand Up @@ -3055,7 +3055,7 @@ export class Calendar extends Component {
return (
<InputText ref={this.inputRef} id={this.props.inputId} name={this.props.name} type="text" className={this.props.inputClassName} style={this.props.inputStyle}
readOnly={this.props.readOnlyInput} disabled={this.props.disabled} required={this.props.required} autoComplete="off" placeholder={this.props.placeholder}
onInput={this.onUserInput} onFocus={this.onInputFocus} onBlur={this.onInputBlur} onKeyDown={this.onInputKeyDown} aria-labelledby={this.props.ariaLabelledBy} inputMode={this.props.inputMode || 'none'} />
onInput={this.onUserInput} onFocus={this.onInputFocus} onBlur={this.onInputBlur} onKeyDown={this.onInputKeyDown} aria-labelledby={this.props.ariaLabelledBy} inputMode={this.props.inputMode} />
);
}

Expand Down

0 comments on commit 57794fa

Please sign in to comment.