centripetum / toolkit

A component toolkit to be used with the Centripetum platform. https://github.com/orgs/centripetum/projects/1
MIT License
0 stars 0 forks source link

ChooseMany field #22

Open reubenberghan opened 5 years ago

reubenberghan commented 5 years ago

This field presents the user with a list of options and allows the user to select zero, one, or many of the options.

  1. The field has a configurable amount that determines if checkboxes or a drop down list are shown. If the number of options is less than the configured amount, checkboxes are used, if it is equal to or more than the configured amount, then a drop down list is used.
  2. The field allows the user to select multiple choices, either as checkboxes or a drop down
  3. The field requires more than 0 zero options to choose from, otherwise it will be disabled.
  4. The field displays to the user which options they have selected, and allows them to unselect these options.
  5. The field returns a list of the selected options.