RCTAutoComplete
RCTAutoComplete copied to clipboard
Warnings if used with AlertIos.alert
I'm getting these two errors when running the default demo. They only fire when I bind blur,focus,select,etc to a function and fire AlertIOS.alert. Changing alert to console.log works just fine..
The difference from the demo is that I'm not using arrow function within the prop declaration:
onSubmitEditing (e) {
AlertIOS.alert('onSubmitEditing', e)
}
and
onSubmitEditing={this.onSubmitEditing}
instead of
onSubmitEditing={(e) => AlertIOS.alert('onSubmitEditing')}
