How can I limit the number of selection for each column in the input table field?