I am using NativeBase for react native app . I am trying to trigger event when text changes on my input fields
<Input style={Styles.VehicleMeterCenter} placeholder={this.props.item['name']} 
                    value={this.state.item.name} onChange={this.onFieldChange}/>
onFieldChange handler is as follows :-
    onFieldChange(e)
  {
    console.log("Master");
    console.log(e);
    console.log("Native Event");
    console.log(e.nativeEvent);
    const {name,type,value} = e.nativeEvent;
    console.log(name + " : " + type + " : " + value);
    //this.setState({item:{name:val}});
  }
I am confused about the output that I get, there is no type, value or name. I am not sure how do I classify if the handler was triggered from which input field as there is no such information in these structs.
Output of above code :
    10:40:46 AM: Master
10:40:46 AM: {"dispatchConfig":null,"_targetInst":null,"isDefaultPrevented":null,"isPropagationStopped":null,"_dispatchListeners":null,"_dispatchInstances":null,"type":null,"target":null,"eventPhase":null,"bubbles":null,"cancelable":null,"defaultPrevented":null,"isTrusted":null,"nativeEvent":null}
10:40:46 AM: Native Event
10:40:46 AM: {"target":622,"eventCount":1,"contentSize":{"height":24,"width":399470.46875},"text":"D"}
10:40:46 AM: undefined : undefined : undefined
What I want to achieve is that I should be able to identify which input field triggered the event, and also get the value inserted.
 
     
     
     
    