initial github commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
// Generated by CoffeeScript 1.12.5
|
||||
import Ember from 'ember';
|
||||
|
||||
export default Ember.Component.extend({
|
||||
classNames: ['ui-multi-select-container'],
|
||||
labelProperty: 'name',
|
||||
placeholder: 'Select',
|
||||
options: [],
|
||||
selected: [],
|
||||
placeholder_text: Ember.computed('placeholder', function() {
|
||||
var placeholder;
|
||||
placeholder = this.get('placeholder');
|
||||
if (is_translation_path(placeholder)) {
|
||||
placeholder = t(placeholder, {
|
||||
count: this.get('options.length')
|
||||
});
|
||||
}
|
||||
return placeholder.htmlSafe();
|
||||
})
|
||||
});
|
||||
Reference in New Issue
Block a user