Force users to select an option in required custom user dropdown fields

This commit is contained in:
joao 2016-03-06 21:06:40 +00:00
parent 67995b3926
commit a225c0fbbb
1 changed files with 2 additions and 4 deletions

View File

@ -5,8 +5,6 @@ export default Ember.Component.extend({
layoutName: fmt('field.field_type', 'components/user-fields/%@'), layoutName: fmt('field.field_type', 'components/user-fields/%@'),
noneLabel: function() { noneLabel: function() {
if (!this.get('field.required')) { return 'user_fields.none';
return 'user_fields.none'; }.property()
}
}.property('field.required')
}); });