List: NoDataText attribute doesn't show text on screen
See original GitHub issueDescribe the bug Using a List, the NoDataText attribute should show a message on the screen when the list is empty. The current behaviour does not show anything.
Isolated Example In the UI, we are showing a list of Cards. But when there is nothing to show and the list is empty, there is no message on the screen.
To Reproduce Steps to reproduce the behavior:
- Create a List
- Add ‘noDataText’ with any String
- There should be no text in the UI
Expected behavior When I have an empty list, there should be a message, using NoDataText
Screenshots UI:
The List using NoDataText:
The empty list without the text:
UI5 Web Components for React Information
@ui5/webcomponents
version:1.0.0-rc.8
@ui5/webcomponents-react
version:^0.10.9
Operating System: MAC OS
Browser: Chrome
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
dxList does not display the no data text on the screen
I am using odata store in my project. so datasource objects always contains a value (not null) even they contains no record. dxList...
Read more >SAPUI5: How to remove the No Data Text on List View
Hello Experts, I am working with the SAPUI5 list. I wonder if we can remove the "No Data" on the list when there...
Read more >Custom text when gallery contains no items
I have a gallery that searches for users in my org based on the value from a SharePoint list. The gallery contains labels...
Read more >sap.m.Table with invisible rows does not show "No data"
You're describing a situation where you've bound the Table's items aggregation but are just suppressing the row display with the visible property.
Read more >The Text widget does not display multiple attribute records for ...
Open the ArcGIS Experience Builder project and navigate to the Insert widget panel. Under Data centric, drag and drop the List widget to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi everyone,
ui5-list
would look like this:The same logic should apply if we want to bind the
header-text
property of the list.Moreover, the exact snippet from the initial issue works on my side as well on the current master version of UI5 Web Components:
I am closing the issue as everything seems to work as expected. If you think that I am missing something, please reopen the issue.
@MarcusNotheis here an angular example for that:
codesandbox
to reproduce.