mirror of
https://github.com/nasa/openmct.git
synced 2024-12-24 07:16:39 +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"
|
<input type="text"
|
||||||
ng-model="textValue"
|
ng-model="textValue"
|
||||||
ng-blur="restoreTextValue(); ngBlur()"
|
ng-blur="restoreTextValue(); ngBlur()"
|
||||||
ng-class="{ error: textInvalid }">
|
ng-class="{
|
||||||
|
error: textInvalid,
|
||||||
|
test: structure.validate && !structure.validate(ngModel[field])
|
||||||
|
}">
|
||||||
</input>
|
</input>
|
||||||
<a class="ui-symbol icon icon-calendar"
|
<a class="ui-symbol icon icon-calendar"
|
||||||
ng-if="structure.format === 'utc' || !structure.format"
|
ng-if="structure.format === 'utc' || !structure.format"
|
||||||
|
Loading…
Reference in New Issue
Block a user