diff --git a/platform/commonUI/general/res/templates/controls/datetime-field.html b/platform/commonUI/general/res/templates/controls/datetime-field.html index 5aa4ea29ee..18eb9ec46d 100644 --- a/platform/commonUI/general/res/templates/controls/datetime-field.html +++ b/platform/commonUI/general/res/templates/controls/datetime-field.html @@ -25,7 +25,9 @@ ng-model="textValue" ng-blur="restoreTextValue(); ngBlur()" ng-class="{ - error: textInvalid || (structure.validate && !structure.validate(ngModel[field])) + error: textInvalid || + (structure.validate && + !structure.validate(ngModel[field])) }">