add dropdown and join the input field in a group