From 11b71fae68671a2d9cdcda94c94353c918659f33 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Mon, 11 Jan 2016 15:29:43 -0800 Subject: [PATCH] [Time Conductor] Display invalid state ...when text value can be parsed in a date-time field, but numeric value violates externally-imposed validation --- .../general/res/templates/controls/datetime-field.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/platform/commonUI/general/res/templates/controls/datetime-field.html b/platform/commonUI/general/res/templates/controls/datetime-field.html index e9b394c530..51bfe979b7 100644 --- a/platform/commonUI/general/res/templates/controls/datetime-field.html +++ b/platform/commonUI/general/res/templates/controls/datetime-field.html @@ -24,7 +24,10 @@ + ng-class="{ + error: textInvalid, + test: structure.validate && !structure.validate(ngModel[field]) + }">