New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ember-bootstrap-model-select

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-bootstrap-model-select

Integrate ember-model-select into your ember-bootstrap forms.

0.1.0-alpha.1
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

ember-bootstrap-model-select

Integrate ember-model-select into your ember-bootstrap forms.

Installation

ember install ember-bootstrap-model-select

Usage

With this addon installed, you have a new controlType of model-select available.

{{#bs-form model=yourModel as |form|}}  
  {{form.element controlType="model-select" property="foo" label="Choose" options=options}}
{{/bs-form}}

If your options array consists of objects, use the optionLabelPath to specify the property that should be used as the options label:

{{#bs-form model=yourModel as |form|}}  
  {{form.element controlType="power-select" property="foo" label="Choose" options=options optionLabelPath="title"}}
{{/bs-form}}

Contributing

Installation

  • git clone <repository-url>
  • cd ember-bootstrap-model-select
  • npm install

Linting

  • npm run lint:js
  • npm run lint:js -- --fix

Running tests

  • ember test – Runs the test suite on the current Ember version
  • ember test --server – Runs the test suite in "watch mode"
  • ember try:each – Runs the test suite against multiple Ember versions

Running the dummy application

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

License

This project is licensed under the MIT License.

Keywords

ember-addon

FAQs

Package last updated on 05 Sep 2018

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