I am creating a React component which includes several input feilds. I have encountered an issue on the iPad(Safari and Chrome) and Safari browser on Mac.
I cannot type into the Input feilds.
var InputComponent = React.createClass({
getInitialState : function(){
return {telephone : ''}
},
handleChange : function(event){
console.log(event.target.value);
},
render : function(){
return(
<div>
<label>Contact tel </label>
<input id="telephone" onChange={this.handleChange} defaultValue={this.state.telephone}/>
</div>
)
}
})
I have tried several variations on the input element itself without any luck.