[fix] setNativeProps on TextInput

This commit is contained in:
Nicolas Gallagher
2016-07-05 18:52:44 -07:00
parent 7132a18440
commit 579bdeb8a5

View File

@@ -8,6 +8,7 @@ import StyleSheet from '../../apis/StyleSheet'
import Text from '../Text'
import TextareaAutosize from 'react-textarea-autosize'
import TextInputState from './TextInputState'
import UIManager from '../../apis/UIManager'
import View from '../View'
import ViewStylePropTypes from '../View/ViewStylePropTypes'
@@ -68,7 +69,7 @@ class TextInput extends Component {
}
setNativeProps(props) {
this.refs.input.setNativeProps(props)
UIManager.updateView(this.refs.input, props, this)
}
render() {