react-native: [TextInput] Some properties and styles seems invalid

<TextInput style={styles.input} placeholder="test" placeholderTextColor="#ffffff" />
input:{
    height:50,
    color:'#ffffff',
    textAlign:'center',
    backgroundColor:'#1D1F26',
    fontSize:20
  }, 

The placeholderTextColor and textAlign has no effect. Did I miss something?

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 17 (5 by maintainers)

Commits related to this issue

Most upvoted comments

@sahrens , what @TooBug is referring to is the props docs: http://facebook.github.io/react-native/docs/textinput.html#props

placeholder string 

The string that will be rendered before text input has been entered

placeholderTextColor string 

The text color of the placeholder string