All Projects â†’ zestia â†’ Ember Select Box

zestia / Ember Select Box

Licence: mit
🔠 A faux select box for Ember apps

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Ember Select Box

React Native Dropdown Picker
A single / multiple, categorizable & searchable item picker (dropdown) component for react native which supports both Android & iOS.
Stars: ✭ 230 (+283.33%)
Mutual labels:  menu, select, dropdown
Easydropdown
A lightweight library for building beautiful styleable <select> elements
Stars: ✭ 337 (+461.67%)
Mutual labels:  menu, select, dropdown
Autocomplete
🔮 Fast and full-featured autocomplete library
Stars: ✭ 1,268 (+2013.33%)
Mutual labels:  autocomplete, select, dropdown
React Dropdown Select
Customisable dropdown select for react
Stars: ✭ 227 (+278.33%)
Mutual labels:  menu, select, dropdown
react-native-select-pro
React Native dropdown (select) component developed by Mobile Reality
Stars: ✭ 79 (+31.67%)
Mutual labels:  select, dropdown, menu
Multiselect
Vue 3 multiselect component with single select, multiselect and tagging options.
Stars: ✭ 92 (+53.33%)
Mutual labels:  autocomplete, select, dropdown
Downshift
🏎 A set of primitives to build simple, flexible, WAI-ARIA compliant React autocomplete, combobox or select dropdown components.
Stars: ✭ 10,183 (+16871.67%)
Mutual labels:  autocomplete, select, dropdown
Ng Select
⭐ Native angular select component
Stars: ✭ 2,781 (+4535%)
Mutual labels:  autocomplete, select, dropdown
choc-autocomplete
🏇 Autocomplete Component Package for Chakra UI
Stars: ✭ 286 (+376.67%)
Mutual labels:  autocomplete, select, dropdown
react-native-autocomplete-dropdown
Dropdown Item picker with search and autocomplete (typeahead) functionality for react native
Stars: ✭ 87 (+45%)
Mutual labels:  autocomplete, select, dropdown
vue-single-select
single select dropdown with autocomplete
Stars: ✭ 43 (-28.33%)
Mutual labels:  autocomplete, select, dropdown
frontal
An Angular select/dropdown component
Stars: ✭ 20 (-66.67%)
Mutual labels:  autocomplete, select, dropdown
Material Ui Superselectfield
multiselection autocomplete dropdown component for Material-UI
Stars: ✭ 260 (+333.33%)
Mutual labels:  autocomplete, select, dropdown
Svelte Select
A select component for Svelte apps
Stars: ✭ 414 (+590%)
Mutual labels:  autocomplete, select
React Select Search
⚡ī¸ Lightweight select component for React
Stars: ✭ 379 (+531.67%)
Mutual labels:  select, dropdown
Slim Select
Slim advanced select dropdown
Stars: ✭ 517 (+761.67%)
Mutual labels:  select, dropdown
Ngautocomplete
Light-weight autocomplete component for Angular.
Stars: ✭ 52 (-13.33%)
Mutual labels:  autocomplete, dropdown
React Dropdown Tree Select
Lightweight, accessible, customizable and fast Dropdown Tree Select component for React
Stars: ✭ 345 (+475%)
Mutual labels:  select, dropdown
Ember Power Select
The extensible select component built for ember.
Stars: ✭ 521 (+768.33%)
Mutual labels:  select, ember
Wmzdialog
功čƒŊæœ€å¤šæ ˇåŧæœ€å¤šįš„åŧšįĒ—īŧŒæ”¯æŒæ™Žé€š/垎äŋĄåē•éƒ¨/æ—Ĩ期/地åŒē/æ—Ĩ历/选拊/įŧ–čž‘/分äēĢ/čœå•/č‡Ē厚䚉åŧšįĒ—į­‰,支持多į§åŠ¨į”ģ,链åŧįŧ–į¨‹č°ƒį”¨(Pop-up windows with the most functions and styles, support normal/WeChat bottom/date/region/calendar/select/edit/share/menu/custom pop-up windows, etc., support multiple animations, chain programming calls)
Stars: ✭ 673 (+1021.67%)
Mutual labels:  menu, select

@zestia/ember-select-box

Select box solutions are rarely perfect for what you want.

They come with a myriad of options to configure every possible situation, and they make too many assumptions about how your select-box should behave.

This addon does less, and gives you the primitives to easily compose your own.

Installation

ember install @zestia/ember-select-box

Demo

https://zestia.github.io/ember-select-box

Features

  • Native select box (that supports complex values) ✔ī¸Ž
  • Faux select box (mimics a native select box, but easily stylable) ✔ī¸Ž
  • Navigatable options and groups ✔ī¸Ž
  • ARIA Attributes ✔ī¸Ž
  • Supports promises ✔ī¸Ž
  • Any HTML you want ✔ī¸Ž
  • Will never come with built-in styles ✔ī¸Ž
  • Ember Data friendly ✔ī¸Ž
  • Full control at all times with the API ✔ī¸Ž
  • Native-like typeahead behaviour ✔ī¸Ž
  • Very few issues over many years of Ember! ✔ī¸Ž
  • Easily create an autocompleter ✔ī¸Ž
  • Easily create a dropdown menu ✔ī¸Ž

Example

To create your own select box, make a new component that renders a select box:

{{! foo-select.hbs }}
<SelectBox
  class="foo"
  @value={{@value}}
  @onSelect={{@onSelect}} as |sb|
>
  <sb.SelectedOption {{on "click" sb.toggle}}>
    {{sb.value.name}}
  </sb.SelectedOption>
  <sb.Options>
    {{yield sb}}
  </sb.Options>
</SelectBox>

...and then use it like this:

{{! application.hbs }}
<FooSelect
  @value={{this.foo1}}
  @onSelect={{this.handleSelectFoo}} as |sb|
>
  {{#each this.foos as |foo|}}
    <sb.Option @value={{foo}}>{{foo.name}}</sb.Option>
  {{/each}}
</FooSelect>

...which will render...

<div class="select-box foo">
  <div class="select-box__selected-option">Foo 1</div>
  <div class="select-box__options">
    <div class="select-box__option">Foo 1</div>
    <div class="select-box__option">Foo 2</div>
    <div class="select-box__option">Foo 3</div>
  </div>
</div>

...as you can see, apart from being able to select a value - this addon does very little out of the box! It's up to you to add the layer of behaviour that you require using the API.

Docs

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].