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

SelectBox #3

Description

@quantizor

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions