Skip to content

Commit

Permalink
Merge pull request #78 from DavidNorena/fixinputeditable
Browse files Browse the repository at this point in the history
  • Loading branch information
BANG88 authored Oct 20, 2018
2 parents 1955fec + f3efcce commit c0c6c31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/input-item/index.native.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export default class InputItem extends React.Component<InputItemProps, any> {
onExtraClick,
onErrorClick,
styles,
...restProps,
...restProps
} = this.props;
const { value, defaultValue, style } = restProps;

Expand Down Expand Up @@ -199,6 +199,7 @@ export default class InputItem extends React.Component<InputItemProps, any> {
)
) : null}
<Input
editable={editable}
clearButtonMode={clear ? 'while-editing' : 'never'}
underlineColorAndroid="transparent"
ref={el => (this.inputRef = el)}
Expand Down

0 comments on commit c0c6c31

Please sign in to comment.