Skip to content

feat: Modify the way the empty list works in the ListComponentBase #4027

@felixduque

Description

@felixduque

I checked the code, and in the ListComponentBase is checking if the items is null then it shows the ChildComponent, it is not intuitive. It is in the documentation, but it doesn't say that it does that.

I mean the easy fix would be if the items is null or items is empty to show the ChildComponent. As of now it only shows if the items is null. That is an easy fix.

The feature I am requesting so it can be intuitive is to instead of using that ChildComponent, add a parameter for EmptyTemplate. This way you can add the same things you can add to the ChildComponent, but by having the empty template follows what most components do.

Thank you for taking the time to consider this.

Felix D.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions