[Frontend] Form and form control enhancements

WTD-1002
Added Angular hooks to allow form elements to have JSON defined CSS classes
Form element cleanups
This commit is contained in:
Charles Hacskaylo
2015-03-10 22:36:35 -07:00
parent 68c3ec7194
commit cc181dbdc9
12 changed files with 152 additions and 98 deletions

View File

@@ -204,17 +204,19 @@
"model": { "composition": [] },
"properties": [
{
"label": "Layout Grid",
"name": "Layout Grid",
"control": "composite",
"pattern": "^(\\d*[1-9]\\d*)?$",
"items": [
{
"name": "Horizontal grid (px)",
"control": "textfield"
"control": "textfield",
"cssclass": "l-small l-numeric"
},
{
"name": "Vertical grid (px)",
"control": "textfield"
"control": "textfield",
"cssclass": "l-small l-numeric"
}
],
"key": "layoutGrid",
@@ -237,11 +239,13 @@
"items": [
{
"name": "Horizontal grid (px)",
"control": "textfield"
"control": "textfield",
"cssclass": "l-small l-numeric"
},
{
"name": "Vertical grid (px)",
"control": "textfield"
"control": "textfield",
"cssclass": "l-small l-numeric"
}
],
"pattern": "^(\\d*[1-9]\\d*)?$",