javascript - Why does my Preview Window doesn't show FormElement Content -


i trying add sap.ui.layout.form.form formcontainer , formelements preview dialog. however, form , elements doesn't rendered.
click here:

{   "type": "sap.ui.core.mvc.jsonview",   "content": [     {       "type": "sap.m.button",       "id": "testitemid0",       "text": "mytestbutton",       "press": "asdf"     },     {       "type": "sap.ui.layout.form.form",       "id": "testitemid1",       "formcontainers": [         {           "type": "sap.ui.layout.form.formcontainer",           "id": "testitemid2",           "formelements": [             {               "type": "sap.ui.layout.form.formelement",               "id": "testitemid3",               "label": {                 "type": "sap.m.label",                 "id": "testitemid4",                 "text": "my test label"               },               "fields": [                 {                   "type": "sap.m.input",                   "id": "testitemid5",                   "value": "my test input",                   "placeholder": ""                 }               ]             }           ]         }       ]     }   ] } 

any idea why doesn't render form?

my sap.ui.layout.form.form-element lacks layout:

{   "type": "sap.ui.layout.form.form",   "id": "testitemid1",   "layout": {       "type": "sap.ui.layout.form.gridlayout"   },   ... } 

jsbin


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -