Initialize input error state.
Merge pull request #78 from liamcmitchell/fix-input

Initialize input error state.