Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 TreeView's 'There must be at least one item' assertion #934

Closed
glanium opened this issue Sep 17, 2023 · 0 comments
Closed

🐛 TreeView's 'There must be at least one item' assertion #934

glanium opened this issue Sep 17, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@glanium
Copy link

glanium commented Sep 17, 2023

Describe the bug
When TreeView has no Items, 'There must be at least one item' assertion error happens.

My app dynamically create TreeView's Items at run time.
So sometimes There's no Items at all!!.

Please relax this constraint.

To Reproduce
Steps to reproduce the behavior:
Just create TreeView with no items

TreeView(
  items: []    // Empty 

Expected behavior
No assertion error

Additional context
fluent_ui: 4.7.4

thx

@bdlukaa bdlukaa added the bug Something isn't working label Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants