mirror of
https://github.com/flarum/framework.git
synced 2025-01-09 20:44:05 +08:00
10 lines
386 B
JavaScript
10 lines
386 B
JavaScript
import Ember from 'ember';
|
|
|
|
export default Ember.Component.extend({
|
|
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"}}')
|
|
});
|