@gm-mobile/c-react 3.9.3-beta.11 → 3.9.3-beta.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gm-mobile/c-react",
|
|
3
|
-
"version": "3.9.3-beta.
|
|
3
|
+
"version": "3.9.3-beta.12",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "liyatang <liyatang@qq.com>",
|
|
6
6
|
"homepage": "https://github.com/gmfe/gm-mobile#readme",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"url": "https://github.com/gmfe/gm-mobile/issues"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@gm-mobile/c-font": "^3.9.3-beta.
|
|
25
|
-
"@gm-mobile/c-tool": "^3.9.3-beta.
|
|
26
|
-
"@gm-mobile/locales": "^3.9.3-beta.
|
|
24
|
+
"@gm-mobile/c-font": "^3.9.3-beta.12",
|
|
25
|
+
"@gm-mobile/c-tool": "^3.9.3-beta.12",
|
|
26
|
+
"@gm-mobile/locales": "^3.9.3-beta.12"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"@tarojs/components": "3.0.18",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"prop-types": "^15.7.2",
|
|
34
34
|
"react": "^16.13.1"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "56e1593b2b488c637ea9dbcf4e1ac1a5f06b832e"
|
|
37
37
|
}
|
|
@@ -159,7 +159,7 @@ export class TextField extends Component<TextFieldProps, TextFieldState> {
|
|
|
159
159
|
disabled,
|
|
160
160
|
highlight,
|
|
161
161
|
cursorSpacing = 30,
|
|
162
|
-
maxLength,
|
|
162
|
+
maxLength = -1,
|
|
163
163
|
confirmType,
|
|
164
164
|
adjustPosition,
|
|
165
165
|
block,
|
|
@@ -181,7 +181,7 @@ export class TextField extends Component<TextFieldProps, TextFieldState> {
|
|
|
181
181
|
const common = {
|
|
182
182
|
disabled: disabled,
|
|
183
183
|
onInput: this.onInput.bind(this),
|
|
184
|
-
onChange: this.onInput.bind(this),
|
|
184
|
+
// onChange: this.onInput.bind(this),
|
|
185
185
|
onClick: this.onClick.bind(this),
|
|
186
186
|
onBlur: () => {
|
|
187
187
|
onBlur && onBlur()
|