mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 13:17:53 +00:00
[Time Conductor] Display invalid state
...when text value can be parsed in a date-time field, but numeric value violates externally-imposed validation
This commit is contained in:
parent
e6d0537e5e
commit
11b71fae68
@ -24,7 +24,10 @@
|
||||
<input type="text"
|
||||
ng-model="textValue"
|
||||
ng-blur="restoreTextValue(); ngBlur()"
|
||||
ng-class="{ error: textInvalid }">
|
||||
ng-class="{
|
||||
error: textInvalid,
|
||||
test: structure.validate && !structure.validate(ngModel[field])
|
||||
}">
|
||||
</input>
|
||||
<a class="ui-symbol icon icon-calendar"
|
||||
ng-if="structure.format === 'utc' || !structure.format"
|
||||
|
Loading…
Reference in New Issue
Block a user