How to use 'Empty List' constant??

Database & APIs

Trying to create conditional where if a certain condition is met, the real list gets inserted, if not, then an empty list, but the 'Empty List' constant acts as a real list, and requires mapping (which doesn't work, filtering, sorting, etc, but there's nothing in the list, so I can't actually do anything. Is this a bug or something I'm doing wrong? I feel like I've tried everything.

What have you tried so far?

Mapping, filtering to 0 times, filtering, using unique items, etc, and it doesn't' work, tried this with integer list, jsonb list for supabase, nothing with the 'Empty List' constant is working. I can't use it.

Did you check FlutterFlow's Documentation for this topic?
Yes
2
2 replies