Hi All,
I have tried to put Toolbar control in footer control in UI5 code. It is throwing an error message as below. Could you please let me know what's the mistake I was made here
Code:
<Page
title="Centered Title"
class="sapUiContentPadding"
showNavButton="true" >
<headerContent>
<Button icon="sap-icon://action" tooltip="Share" />
</headerContent>
<content>
<VBox>
<Text text="Lorem ipsum dolor st amet,
consetetur sadipscing elitr," />
</VBox>
</content>
<footer>
<Toolbar>
<ToolbarSpacer/>
<Button text="Accept" type="Accept" />
<Button text="Reject" type="Reject" />
<Button text="Edit" />
<Button text="Delete" />
</Toolbar>
</footer>
</Page>
Error:
sap-ui-core.js:134 Uncaught Error: "Element sap.m.Toolbar#__toolbar0" is not valid for aggregation "footer" of Element sap.m.Page#__page0
Thanks in advance
Thanks
Padma M