Added support to configure a limit on how many selections can be made