Skip to content

Conversation

Andries-Smit
Copy link
Contributor

@Andries-Smit Andries-Smit commented Feb 7, 2023

This PR contains

  • Feature

What is the purpose of this PR?

Repeaters show a list with values; when there is no value, often users require a hint/message that there is no data available.

This PR enables the user to configure the content shown when the list is empty. This simplifies the modelling.
Similar to the Gallery Widget https://github.com/mendix/native-widgets/blob/main/packages/pluggableWidgets/gallery-native/src/Gallery.xml#L59

Before this PR. You have to create a surrounding context, counting the results in advance. The context needed to be refreshed when the count changed to 0.

We use this widgets in many place, as the other data container widget like list view and repeater are not usable inside a scroll container, because the generate errors: VirtualizedLists should never be nested inside plain ScrollViews

@Andries-Smit Andries-Smit requested a review from a team as a code owner February 7, 2023 13:50
@moo-team moo-team added the Widget label Feb 7, 2023
@Andries-Smit Andries-Smit force-pushed the feat/repeater-empty branch from 8545627 to 5443261 Compare June 5, 2025 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants