mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 04:08:41 +08:00
Wizard: Server Side Validation + Finished Step
This commit is contained in:
@ -4,5 +4,8 @@ export default Ember.Component.extend({
|
||||
classNameBindings: [':wizard-field', ':text-field', 'field.invalid'],
|
||||
|
||||
@computed('field.id')
|
||||
inputClassName: id => `field-${Ember.String.dasherize(id)}`
|
||||
inputClassName: id => `field-${Ember.String.dasherize(id)}`,
|
||||
|
||||
@computed('field.type')
|
||||
inputComponentName: type => `wizard-field-${type}`
|
||||
});
|
||||
|
Reference in New Issue
Block a user