Tab from input selects value