mirror of
https://github.com/nasa/openmct.git
synced 2025-06-01 23:20:50 +00:00
[Containment] Make ngModel optional
Make the ngModel dependency of mct-control optional, to avoid breaking mct-control usages which don't also use ng-model. WTD-962.
This commit is contained in:
parent
cc0a46d5cc
commit
952f380c33
@ -46,7 +46,7 @@ define(
|
|||||||
priority: 1000,
|
priority: 1000,
|
||||||
|
|
||||||
// Get the ngModelController, so that controls can set validity
|
// Get the ngModelController, so that controls can set validity
|
||||||
require: 'ngModel',
|
require: '?ngModel',
|
||||||
|
|
||||||
// Link function
|
// Link function
|
||||||
link: link,
|
link: link,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user