title: react native secureTextEntry not working on android
body: <p>I am trying to use react-native <code>secureTextEntry</code> to hide my password and confirm password fields during registration.I'm using custom InputBox component for textInput.below is my code,</p>
  
  <pre><code>                &lt;InputBox 
                  error={this.state.PwordError} 
                  keyboardType={'default'} 
                  onChangeText={Pword =&gt;
                      this.setState({
                          Pword
                      })
                  } 
                  secureTextEntry={true}
                  value={this.state.Pword} 
                  pHolder={"Password"} 
                  color={'white'} /&gt;
              &lt;View style={styles.spacer} /&gt;
              &lt;InputBox 
                  error={this.state.CPwordError} 
                  keyboardType={'default'} 
                  onChangeText={CPword =&gt;
                      this.setState({
                          CPword
                      })
                  } 
                  secureTextEntry={true}
                  value={this.state.CPword} 
                  pHolder={"Confirm Password"} 
                  color={'white'} /&gt;
  </code></pre>
  
  <p>The first textbox works fine when a password is entered it show as dots, but the confirm password field does not work. does anyone have an idea why this could occur?</p>
  
  <p>This is the input box that is referred by the above code</p>
  
  <pre><code>            &lt;TextInput 
                      underlineColorAndroid="transparent"
                      placeholder={this.props.pHolder} 
                      placeholderTextColor={this.props.color === 'white' ? 'black':"white" } 
                      {...this.props}
                      style={this.props.color == 'white' ? styles.ReginputStyle : styles.inputStyle} 
  
                      /&gt; 
  </code></pre>
  
  <p>i am using,</p>
  
  <pre><code>"react": "16.5.0",
  "react-native": "0.57.1",
  </code></pre>
  
  <p>I was able to fix this by removing the <code>keyboardType={'default'}</code> code from my input component. Even though the problem is fixed i would like to know why the first <code>secureTextEntry</code> box worked while the other didn't, as both of them were identical except for the value. can any one give a reason to why this could occur,</p>
  
  <p>thanks.</p>