Skip to content

Repository files navigation

Option Picker

Accessible custom <select> (and <input list>) element.

index.js index.min.js

Option Picker

Press Enter or Space key to open/close the options list. Use ArrowDown and ArrowUp keys to open the options list and then focus on an option, then press Enter, Space, or Tab to select it. On the “strict” option picker presentation, you should be able to type away when you focus on it to select the first active option that contains text that matches the search query you are currently typing. On the “loose” option picker presentation, when you start to input a value, the available options get filtered instead of selected immediately.

Contribute

  • Please do not make pull requests by editing the files that are in the root of the project. They are generated automatically by the build tool.
  • Install Git and Node.js
  • Run git clone https://github.com/taufik-nurrohman/option-picker.git
  • Run cd option-picker && npm install --save-dev
  • Edit the files in the .factory folder.
  • Run npm run pack to generate the production ready files.

About

Accessible custom `<select>` (and `<input list>`) element.

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages