score:4

Accepted answer

i can confirm it works on ios and does not on android (at least for react native 0.14.2).

this issue was submitted a few days ago (see https://github.com/facebook/react-native/issues/3742).
it should be fixed, but only in the latest prerelease version (v0.15.0-rc).

score:4

add your style to your textinput component and it would work i guess!

 render: function() {
return (
  <view>
    <textinput
      style={styles.creditinput}
      placeholder='add credit'
      placeholdertextcolor='ffffff'
      textalign='center'
    />
  </view>
);
},
var styles = stylesheet.create({


creditinput: {
    backgroundcolor: "#3f51b5",
    color: "#ffffff", //expecting this to change input text color

},

Related Query

More Query from same tag