mirror of
https://github.com/nasa/openmct.git
synced 2025-05-13 05:53:18 +00:00
[Forms] Add color picker
Add color picker, for use in toolbars. WTD-684.
This commit is contained in:
parent
a9ebd1b869
commit
c49e641bca
@ -38,6 +38,10 @@
|
|||||||
"key": "button",
|
"key": "button",
|
||||||
"templateUrl": "templates/controls/button.html"
|
"templateUrl": "templates/controls/button.html"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"key": "color",
|
||||||
|
"templateUrl": "templates/controls/color.html"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"key": "composite",
|
"key": "composite",
|
||||||
"templateUrl": "templates/controls/composite.html"
|
"templateUrl": "templates/controls/composite.html"
|
||||||
|
3
platform/forms/res/templates/controls/color.html
Normal file
3
platform/forms/res/templates/controls/color.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<input type="color"
|
||||||
|
name="mctControl"
|
||||||
|
ng-model="ngModel[field]">
|
Loading…
x
Reference in New Issue
Block a user