Handle the cases where the input was typed rather than selected on the chosen widget