mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 06:03:08 +00:00
77c1b150d9
Add remaining platform form controls; amend mct-form and mct-control directives to better communicate state. Begin working on problem of communicating validation back out of the form. WTD-530.
65 lines
1.8 KiB
JSON
65 lines
1.8 KiB
JSON
{
|
|
"name": "MCT Forms",
|
|
"description": "Form generator; includes directive and some controls.",
|
|
"extensions": {
|
|
"directives": [
|
|
{
|
|
"key": "mctForm",
|
|
"implementation": "MCTForm.js"
|
|
},
|
|
{
|
|
"key": "mctControl",
|
|
"implementation": "MCTControl.js",
|
|
"depends": [ "controls[]" ]
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"key": "checkbox",
|
|
"templateUrl": "templates/controls/checkbox.html"
|
|
},
|
|
{
|
|
"key": "datetime",
|
|
"templateUrl": "templates/controls/datetime.html"
|
|
},
|
|
{
|
|
"key": "select",
|
|
"templateUrl": "templates/controls/select.html"
|
|
},
|
|
{
|
|
"key": "textfield",
|
|
"templateUrl": "templates/controls/textfield.html"
|
|
}
|
|
],
|
|
"templates": [
|
|
{
|
|
"key": "_checkbox",
|
|
"templateUrl": "templates/_checkbox.html"
|
|
},
|
|
{
|
|
"key": "_checkboxes",
|
|
"templateUrl": "templates/_checkboxes.html"
|
|
},
|
|
{
|
|
"key": "_datetime",
|
|
"templateUrl": "templates/_datetime.html"
|
|
},
|
|
{
|
|
"key": "_select",
|
|
"templateUrl": "templates/_select.html"
|
|
},
|
|
{
|
|
"key": "_selects",
|
|
"templateUrl": "templates/_selects.html"
|
|
},
|
|
{
|
|
"key": "_textfield",
|
|
"templateUrl": "templates/_textfield.html"
|
|
},
|
|
{
|
|
"key": "_textfields",
|
|
"templateUrl": "templates/_textfields.html"
|
|
}
|
|
]
|
|
}
|
|
} |