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

Cannot add new entries in Tree view - Flutter Flow #6

Open
looganxx opened this issue Jun 14, 2024 · 7 comments
Open

Cannot add new entries in Tree view - Flutter Flow #6

looganxx opened this issue Jun 14, 2024 · 7 comments

Comments

@looganxx
Copy link

return Container(
width: widget.width,
height: widget.height,
child: JsonEditor(
onChanged: (_) {},
json: jsonEncode(widget.json),
themeColor: Color(0xFF4B39EF),
));

this is my configuration

I'm able to edit the already existing values of json object, but i can't add new string, list or object.
Instead, in text visualization I can make any modification.

What am I missing?

@SanjaySodani
Copy link
Owner

@looganxx Have you tried the more options(3 dots) on the left side?

@looganxx
Copy link
Author

@SanjaySodani yes, of course. I used the three dots, but when I click on String, List or others options this make no effect to the JSON content.

@SanjaySodani
Copy link
Owner

@looganxx I gave it a try and it works for me. Even on the demo app (from the package landing page).

And was the object expanded too?

@looganxx
Copy link
Author

yes, the object expands. Even for me, the demo app works. I just wanted to know if I am doing something wrong in my implementation, because as I said, in text mode I can edit.

@SanjaySodani
Copy link
Owner

No, you are not missing anything.

@looganxx
Copy link
Author

I am using FlutterFlow for the implementation, maybe something with it does not work well? Do you have the opportunity to test your package on FF?

@SanjaySodani
Copy link
Owner

No, I have never. Let me try it out. I will revert, it might take some time as I'm new to FF.

@SanjaySodani SanjaySodani changed the title Can't edit in tree visualization Cannot add new entries in Tree view - Flutter Flow Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants