Expanded awRequiredWhen to support an expression rather than looking at a truthy scope variable.

This commit is contained in:
Michael Abashian
2016-04-18 11:06:52 -04:00
parent 4f2b245f71
commit 94c4591a3e
13 changed files with 98 additions and 92 deletions

View File

@@ -46,7 +46,7 @@ export default
label: 'Username',
type: 'text',
awRequiredWhen: {
variable: "not_ldap_user",
reqExpression: "not_ldap_user",
init: true
},
autocomplete: false
@@ -61,7 +61,7 @@ export default
excludeMode: 'edit',
ngClick: 'lookUpOrganization()',
awRequiredWhen: {
variable: "orgrequired",
reqExpression: "orgrequired",
init: true
}
},