Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-combobox

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-combobox

A combo box for use with an ember-cli application

  • 0.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

ember-cli-combobox

A simple ember-cli combo box. Inspired by and modified from https://github.com/instructure/ic-autocomplete/

Installation

ember install:addon ember-cli-combobox

Use

{{ember-combobox dataSource=rates value=currentRate valueChanged="rateChanged" on-select="selectState" optionValuePath="id" optionLabelPath="name" selectedValuePath="id" placeholder="Pick a rate"}}

dataSource: This is an array of objects that pre-populates the dropdown for the combobox. value': This is used if you have a current value that you would like to bind to the free-form textbox. valueChanged: This is an action that can be specified on your controller to handle when a user changes the value in the textbox manually. on-select: This is another action that fires when a user selects an option in the dropdown optionValuePath: This is the property path on each individual object in the dataSource array. optionLabelPath: This is the property path that is used to display a value in the dropdown. selectedValuePath: This is the property path that gets displayed in the textbox. placeholder`: Placeholder text to be displayed in the text box.

Additional info

This is a WIP attempt at a combo box. Feel free to issue pull requests for updates.

Keywords

FAQs

Package last updated on 02 Apr 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc