Merge pull request #4060 from JSFernandes/mandatory_user_fields

Force users to select an option in required custom user dropdown fields
This commit is contained in:
Robin Ward 2016-03-09 15:25:22 -05:00
commit 360a794335
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/%@'),
noneLabel: function() {
if (!this.get('field.required')) {
return 'user_fields.none';
}
}.property('field.required')
return 'user_fields.none';
}.property()
});