on 02-19-2019 2:11 PM
I have a popup window to ask some input from the user like this:
In the code, they use a simple form like this:
<Dialog id="CreateTG" verticalScrolling="false" title="{i18n>CreateTG.Dialog.Title}">
<content>
<f:SimpleForm id="SimpleFormChange354wide"
layout="ResponsiveLayout"
labelSpanXL="4"
labelSpanL="3"
labelSpanM="3"
labelSpanS="12"
adjustLabelSpan="true"
emptySpanXL="0"
emptySpanL="0"
emptySpanM="0"
emptySpanS="0"
columnsXL="2"
columnsL="1"
columnsM="1"
singleContainerFullSize="true"
editable="true">
<f:content>
<Label text="{i18n>CreateTG.Dialog.Label.TGName}" />
The Web IDE gives us a warning message: "A dialog or simple form must define the following attribute: title"
I checked the UI5 Demo Kit sample code and realized that actually I do not want to add a title in my form.
Is there any way to fix this warning without affect my layout? I am wondering maybe they should not have used simple form in this circumstance?
Thank you!
Hi Jerry Zhang,
It is just an information message and you can choose to ignore it else you can select a normal XML validation in the project settings instead of Fiori XML validator.
This error will not come for normal Form:
https://ui5.sap.com/#/sample/sap.ui.layout.sample.Form354/preview
BR,
Mahesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.