[Forms] Add color picker
Add color picker, for use in toolbars. WTD-684.
This commit is contained in:
@@ -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]">
|
||||||
Reference in New Issue
Block a user