Skip to content

Cannot set TextField initial value to Widget State on same page, or from list item. #137

@ghost

Description

Issue tracker is ONLY used for reporting bugs. New feature suggestions and questions should be discussed on Community or submitted through our user feedback form.

Your issue may already be reported! Please search in the issue tracker before creating one.

Please thumbs up this issue if you have also experienced it. You may also add more information if there is something relevant that was not mentioned. However, please refrain from comments that are not constructive, like "I have this problem too", etc.

Expected behavior (required)

  1. Build a ListView that has text, image, and checkboxes
  2. Set the values of the text, image, and checkboxes from a list of documents obtained from a firestore collection
  3. You should now have a nicely formatted list of collection items
  4. You should be able to edit any list item by selecting it, and having access to the widget data for that selected list item.
  5. You can then save your edits, and it will push to firestore.

Current behavior (required)

  1. Build a ListView that has text, image, and checkboxes
  2. Set the values of the text, image, and checkboxes from a list of documents obtained from a firestore collection
  3. You should now have a nicely formatted list of collection items
  4. You can't access any widget data from the list items
  5. You need to push a document reference to an editing page that is setup to accept a document reference as an argument and use another backend query to get the data.
  6. This makes no sense if you have the screen space to do inline edits, such as desktop, web, linux, etc. All widgets should be selectable from the "Set from Variable" menu.

To Reproduce (required)

I'm trying to build for desktop and web first, and passing data between widgets, components, queries, is really challenging. Desktop/web apps shouldn't need to goto a new page specifically for editing. They should be able to edit inline. Also, this saves on backend calls if we don't need to obtain a document, from a doc reference, since all the data required for an edit is already in a widget(listview, etc.).

Screenshots / recordings

not in options

text and text input

Your environment

  • Bug Report Code:

  • Version of FlutterFlow used: Latest

  • Platform (e.g. Web, MacOS Desktop): Web, desktop, mac os

  • Browser name and version: chrome latest

  • Operating system and version (desktop or mobile): Windows 11 latest, ios latest, android latest

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions