Fix issue : Autocomplete input does not keep previous set class