framework/ember/app/components/ui/controls/select-input.js

10 lines
386 B
JavaScript
Raw Normal View History

2014-12-20 14:26:46 +08:00
import Ember from 'ember';
2015-02-06 11:33:35 +08:00
export default Ember.Component.extend({
2014-12-20 14:26:46 +08:00
tagName: 'span',
classNames: ['select-input'],
optionValuePath: 'content',
optionLabelPath: 'content',
layout: Ember.Handlebars.compile('{{view "select" content=view.content optionValuePath=view.optionValuePath optionLabelPath=view.optionLabelPath value=view.value class="form-control"}} {{fa-icon "sort"}}')
2014-12-20 14:26:46 +08:00
});