fix edit a input tag: considering the scenarios of a MODEL for the selection list