clear the selected datas when input node is changed