Skip to content
This repository has been archived by the owner on Mar 27, 2019. It is now read-only.

SelectBox #3

Open
11 tasks
quantizor opened this issue Jan 17, 2017 · 0 comments
Open
11 tasks

SelectBox #3

quantizor opened this issue Jan 17, 2017 · 0 comments
Milestone

Comments

@quantizor
Copy link
Contributor

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 quantizor added this to the Future milestone Jan 17, 2017
@quantizor quantizor self-assigned this Jan 17, 2017
@quantizor quantizor removed their assignment Jan 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant