You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

react-native-text-input-enhance

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-text-input-enhance - npm Package Compare versions

Comparing version

to
1.0.6

2

package.json
{
"name": "react-native-text-input-enhance",
"version": "1.0.5",
"version": "1.0.6",
"description": "Text Input Enhance to fix clear text value in React Native Text Input",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -18,3 +18,3 @@ import React from 'react';

render() {
const { onChangeText } = this.props;
const { onChangeText, ref } = this.props;
let props = this.props;

@@ -24,3 +24,3 @@ let arrProps = {};

if (props.hasOwnProperty(key)) {
if (key !== 'onChangeText') {
if (key !== 'onChangeText' || key !== 'ref') {
arrProps = { ...arrProps, [key]: props[key] };

@@ -32,2 +32,3 @@ }

<T
ref={ref}
value={this.state.text}

@@ -34,0 +35,0 @@ onChangeText={val => {