I want to change the input value when the user select data on the input dropdown. The first thing to do after looping and setting data value in the html dropdown is to check