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-beta.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 which enables you to set belongsTo relationships on the form.

{{#bs-form model=yourModel as |form|}}  
  {{#form.element controlType="model-select" label="My Relationship" property="myOtherModel" as |el|}}
    {{el.control
      modelName='my-other-model'
      labelProperty='name'
    }}
  {{/form.element}}
{{/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 20 Dec 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