list click populates input