mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 05:37:53 +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",
|
||||
"templateUrl": "templates/controls/button.html"
|
||||
},
|
||||
{
|
||||
"key": "color",
|
||||
"templateUrl": "templates/controls/color.html"
|
||||
},
|
||||
{
|
||||
"key": "composite",
|
||||
"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…
Reference in New Issue
Block a user