Skip to content
Addon for embedding a form into a multi-select component
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
addon
app/components
config
tests
vendor
.bowerrc
.editorconfig
.ember-cli
.eslintrc.js
.gitignore
.npmignore
.travis.yml
.watchmanconfig
LICENSE.md
README.md
bower.json
ember-cli-build.js
index.js
package.json
power_select_form_screenshot.png
testem.js
testem.json

README.md

Ember-Power-Select-Form

This addon provides the ability to embed a form into an ember-power-select component. This design provides a unified way to list all of the selected values for different datasets in a single multi-select component. This same multi-select component UI design is used on the Twitter Analytics website on the Audiences report page.

power select form screenshot

Addon Architecture

  • Overrides triggerComponent to be read-only (no filtering)
  • Only uses the selected option for managing items (options is not used at all)
  • Create your own optionsComponent for embedding a form
  • Uses the onchange event to update the selected options after form submission
  • Only works for power-select-multiple not a single select

Example

Checkout the example ember app in the tests/dummy to see how to use this component.

Installation

  • git clone <repository-url> this repository
  • cd ember-power-select-form
  • npm install
  • bower install

Running

Running Tests

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://ember-cli.com/.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.