#359: The accepts function only take one argument
This commit is contained in:
parent
97e720e8f9
commit
2634e02744
@ -36,7 +36,7 @@
|
||||
if(fieldName === "${fieldName}" ){
|
||||
<#attempt>
|
||||
<#if '${fieldName}' == 'username' || '${fieldName}' == 'password'>
|
||||
return <#if messagesPerField.exists('username', 'password')>x<#else>undefined</#if>;
|
||||
return <#if messagesPerField.exists('username') || messagesPerField.exists('password')>x<#else>undefined</#if>;
|
||||
<#else>
|
||||
return <#if messagesPerField.exists('${fieldName}')>x<#else>undefined</#if>;
|
||||
</#if>
|
||||
|
Loading…
x
Reference in New Issue
Block a user