Implement select one and select many input types.