Fixed a bug where the inputfield couldn't be changed