Wizard - Color Scheme Step

This commit is contained in:
Robin Ward
2016-09-02 11:42:14 -04:00
parent 9f12b571ef
commit 3f6e3b9aff
21 changed files with 343 additions and 23 deletions

View File

@ -6,6 +6,9 @@ export default Ember.Component.extend({
@computed('field.id')
inputClassName: id => `field-${Ember.String.dasherize(id)}`,
@computed('field.type')
inputComponentName: type => `wizard-field-${type}`
@computed('field.type', 'field.id')
inputComponentName(type, id) {
return (type === 'component') ? Ember.String.dasherize(id) : `wizard-field-${type}`;
}
});