fix typo
clear the input field if the selection becomes undefined || null