feat: Modify the way the empty list works in the ListComponentBase
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.
Yes. That could be an interesting feature.
Quick fix, so it handles the empty list as well, after all if it is null or empty it should show the @ChildContent. And the capability is already there.
Please let me know if I need to provide an example.
I was just saying adding a parameter for EmptyTemplate is more intuitive than not having anything and knowing because I look at the code that I can put child content in the FluentSelect and it will get displayed if null (or empty if you fix that)
Thank you,
Felix D