diff --git a/packages/taro-components/src/components/input/index.js b/packages/taro-components/src/components/input/index.js index df9d3244768a..0ef6c51fc5e4 100644 --- a/packages/taro-components/src/components/input/index.js +++ b/packages/taro-components/src/components/input/index.js @@ -174,7 +174,7 @@ class Input extends Nerv.Component { className={cls} placeholder={placeholder} disabled={disabled} - max={maxLength} + maxlength={maxLength} onInput={this.onInput} onFocus={this.onFocus} onBlur={this.onBlur}