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" }, ... }
Comments
Post a Comment