onClear event
absentdream opened this issue · comments
Calvin Streeting commented
hi.
First great component.. :)
can i suggest a onClear event be added
i have got around it atm by using the onChange and looking for a empty value, but would be a little
onChange(value){ console.log("InputTypeahead: onChange"); if(value==''){ this.setState({value:'',displayValue:''}); } }
Many Thanks
Calvin streeting