ember-bootstrap-model-select

1.0.0-beta.1 • Public • Published

ember-bootstrap-model-select

Build Status Ember Observer Score npm version

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

Compatibility

  • Ember.js v3.12 or above
  • Ember CLI v2.13 or above
  • Node.js v10 or above

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

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

Package Sidebar

Install

npm i ember-bootstrap-model-select

Weekly Downloads

0

Version

1.0.0-beta.1

License

MIT

Unpacked Size

36.6 kB

Total Files

20

Last publish

Collaborators

  • nickschot