Skip to content

Unexpected Behaviour while creating List<json> #6523

@ansh-kaushik

Description

@ansh-kaushik

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

I have created a custom action which has a parameter (say X) which has type = List of JSON
in Ui where i use the action as custom action and when i pass dynamic value in X , there is no option to create List of JSON , instead what is present there is to create a JSON, so i thought its like json with key = indexes
since is no option of list of json, i created a dummy one , saw no errors in UI , but while local running it shows
dart compilation error.
so i assume , u treat Json=List but dart does not ?

  1. U see where i have used the custom action and passed the list
Image

2)as you can see there are no errrors

Image 3) But on local running it tell the exact error Image

Expected Behavior

  1. Provide List of JSON insted of create JSON option where there is List of JSON there, and do show Create JSON if its List of JSON

Steps to Reproduce

1)Create a new Page ,
2) Create a custom action
3)add a paramter in custom action List of json
4)use that custom action in newPage eg, on PageLoad
5) try passing dynamic values in it , there is no option for list of json

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT40iMjfsI52ocMA+KrpbfpR/SQ5JkAjR5IZjsBraCosfZT2BLMcec/RVERBOemmdHNifU78o2oW0tKKjob2Vuw4C0mdf6JR+KV5EgLwTk6gRaqIFJWgW3x7O59WJ0y9yLaZmxF+VdJqSCEZwF6Yfeq8YHLsN4zvOFc4Dq/LZO4=

Visual documentation

Attacked above

Environment

- FlutterFlow version: 6.3.1+
- Platform:Android
- Browser name and version:Chrome Latest
- Operating system and version affected:Windows 11

Additional Information

No response

Metadata

Metadata

Assignees

Labels

status: can't reproduceFollowing the reported steps did not reproduce the bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions