The SimpleForm
is designed to allow an easy usage of the Form
control.
In the SimpleForm
just the content controls are added. The SimpleForm
creates the Form
, FormContainers
, FormElements
and FormLayout
according to the content.
The following content can be added:
sap.ui.core.Title
): A new FormContainer
is created.
The content up to the next title is used as content of this FormContainer
.
sap.ui.core.Label
): A new FormElement
is created,
this means, a new line inside the FormContainer
starts. All following content up to the
next Label is part of this FormElement
.
Field
of a FormElement
. Here all kind of
form controls can be added.
If a more complex Form
is needed the application has to use the standard Form
and fill it according to the requirements. But for simple Forms without any special the SimpleForm
is the easier choice.
The content is defined using a Json string
The content is defined using a HTML view