fix typo
clear the input field if the selection becomes undefined || null
Merge pull request #7 from patte/master

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