From f3efccec789ba7e3003098e7e586aacd39f399d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Nore=C3=B1a?= Date: Sat, 4 Aug 2018 23:11:32 -0500 Subject: [PATCH] fix bug input editable --- components/input-item/index.native.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/input-item/index.native.tsx b/components/input-item/index.native.tsx index d867ba554..911f625ef 100644 --- a/components/input-item/index.native.tsx +++ b/components/input-item/index.native.tsx @@ -132,7 +132,7 @@ export default class InputItem extends React.Component { onExtraClick, onErrorClick, styles, - ...restProps, + ...restProps } = this.props; const { value, defaultValue, style } = restProps; @@ -199,6 +199,7 @@ export default class InputItem extends React.Component { ) ) : null} (this.inputRef = el)}