title: this.setState is not working for multiple text input in react-native
body: <pre class="lang-js prettyprint-override"><code>    {
        element.answers_data.map((answer, index) =&gt;
            &lt;View key={index} style={{paddingLeft: 20}}&gt;
            &lt;TextInput
              value = {answer.answer_text}
               onChangeText={(answer_text) =&gt; {
                 this.setState({answer_text: answer_text});
               }}
              /&gt;
            &lt;/View&gt;
      )}
  </code></pre>
  
  <p>I am using TextInput in array. But it is not working. Please provide any solution. Thanks in advance</p>