Automcompletrie now does not react on enter if input is empty