boundless icon indicating copy to clipboard operation
boundless copied to clipboard

SelectBox

Open quantizor opened this issue 8 years ago • 0 comments

A select box / dropdown component.

Interactions

  • [ ] Enter or click on anchor should open a dialog below the anchor (possibly using Popover?)
  • [ ] Focus option list inside the dialog automatically
  • [ ] Arrow keys should cycle selection through the list of options
  • [ ] Enter or click on an option should select it

Developer Interface

  • [ ] Should support grouping of options (similar to <optgroup>)
  • [ ] Should support asynchronously-fetched options
  • [ ] Should support multiple selected options (behind a prop flag, multiselect)
  • [ ] Should have typeahead integration for long lists (behind a prop flag, showSearchField)

multiselect={true}

  • [ ] anchor should contain a list of removable tokens for each selected option (similar to UITokenizedInput)

showSearchField={true}

  • [ ] Focus the search field when anchor is clicked (instead of the option list)
  • [ ] Tab should move focus off the field and to the option list

quantizor avatar Jan 17 '17 23:01 quantizor