ali umut ergin
 · I love flutterflow

App States for Custom Data Types Logic

Hey there,

I have a case where a user selects a place from placepicker. The "city selected" of placepicker's Value shows a dropdown list of neighbourhoods of this city selected.

So I have custom data type DEPARTMENTS containing "city---> string" and "neigbourhoods--> list of string"

The AppState is HOODS is "list of departments custom data type"

but when I'd like to create options for dropdown list. I select "Hoods AppState" filtered by the item in list data structure field "city" is equal to PlacePicker value-Get place field-City, I get error in map list items. ( As seen in the images )

I fell in this logic multiple times in different cases. So what is the trick with Appstate custom data types ?

1)

2)

3)

4)

1