diff --git a/package.json b/package.json index 58f0d6e..b75cb50 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-datalist-input", - "version": "1.1.9", + "version": "1.1.10", "description": "This package provides a react component as follows: an input field with a drop down menu to pick a possible option based on the current input.", "main": "./lib/DataListInput.js", "license": "MIT", diff --git a/src/DataListInput.jsx b/src/DataListInput.jsx index 669c7ef..8179d8d 100644 --- a/src/DataListInput.jsx +++ b/src/DataListInput.jsx @@ -40,7 +40,7 @@ class DataListInput extends React.Component { visible: true, } ); } else { - his.setState( { currentInput } ) + this.setState( { currentInput } ) } };