Fixes U4-11517 - E-mail property editor triggers validation when validation has not been enabled in the settings

This commit is contained in:
Sebastiaan Janssen
2018-07-15 08:36:37 +02:00
parent 1fc09cda0f
commit 24e9136f57

View File

@@ -4,7 +4,7 @@
id="{{model.alias}}"
class="umb-editor umb-textstring textstring"
val-email
ng-required="model.config.IsRequired || model.validation.mandatory"
ng-required="model.config.IsRequired != 0 || model.validation.mandatory"
val-server="value" />
<span class="help-inline" val-msg-for="textbox" val-toggle-msg="required"><localize key="general_required">Required</localize></span>