mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-04 21:01:27 -05:00
8 lines
267 B
JavaScript
8 lines
267 B
JavaScript
import computed from 'ember-addons/ember-computed-decorators';
|
|
|
|
export default Ember.Component.extend({
|
|
classNameBindings: [':wizard-field', ':text-field', 'field.invalid'],
|
|
|
|
@computed('field.id')
|
|
inputClassName: id => `field-${Ember.String.dasherize(id)}`
|
|
});
|