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.3
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}}

Code and documentation copyright 2018 Wedding Shoppe Inc. and contributors. Code released 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