mirror of
https://github.com/nasa/openmct.git
synced 2025-06-24 18:25:19 +00:00
[Forms] Handle required flag in composite controls
Handle the ng-required flag in composite controls. WTD-593.
This commit is contained in:
@ -18,15 +18,14 @@
|
||||
"items": [
|
||||
{
|
||||
"name": "Width (px)",
|
||||
"control": "textfield",
|
||||
"pattern": "^(\\d*[1-9]\\d*)?$"
|
||||
"control": "textfield"
|
||||
},
|
||||
{
|
||||
"name": "Height (px)",
|
||||
"control": "textfield",
|
||||
"pattern": "^(\\d*[1-9]\\d*)?$"
|
||||
"control": "textfield"
|
||||
}
|
||||
],
|
||||
"pattern": "^(\\d*[1-9]\\d*)?$",
|
||||
"property": "preferredSize",
|
||||
"conversion": "number[]"
|
||||
},
|
||||
@ -36,15 +35,14 @@
|
||||
"items": [
|
||||
{
|
||||
"name": "Horizontal grid (px)",
|
||||
"control": "textfield",
|
||||
"pattern": "^(\\d*[1-9]\\d*)?$"
|
||||
"control": "textfield"
|
||||
},
|
||||
{
|
||||
"name": "Vertical grid (px)",
|
||||
"control": "textfield",
|
||||
"pattern": "^(\\d*[1-9]\\d*)?$"
|
||||
"control": "textfield"
|
||||
}
|
||||
],
|
||||
"pattern": "^(\\d*[1-9]\\d*)?$",
|
||||
"property": "layoutGrid",
|
||||
"conversion": "number[]"
|
||||
},
|
||||
|
Reference in New Issue
Block a user