create plugin conditionalSelect