-
Notifications
You must be signed in to change notification settings - Fork 28
Description
Expected behavior (required)
I have an action attached to image to upload the image to supabase from custom API as FlutterFlow does not support Supabse authentication yet. It updates the local state with the Image URL (Public URL), but after uploading the current page has to be updated with URL in a text field instead it does not rebuild at all.
Current behavior (required)
The current page does not rebuild even after I select the rebuild all pages or rebuild current page. I have to navigate to previous page and come back to the current page again to see the updated URL in the text field.
Code can be included in this section if it is relevant to reproducing the bug.
-->
Steps to reproduce the behavior:
- Add a button and attach an action to it.
- on clicked action upload media to API
- Use any API backend (Supabase preferred)
- Update Local state with any name and String variable select rebuild current page
- Add the Text field and set the initial value from local state variable.
- Hit Run and observe that the text field never change its value
- Use back button and navigate to previous page
- navigate again to that page where you have the text field with local state variable
- Notice the text field displays the correct values.
Bug Report Code (required, generate from Widget Tree)
IT8Cls/l5Yx2sdtJ14SJd8BvoDs5KWk7apZNm8JAEBAdGL6vPe0Xe+D8R1tBY7TidHw7JWKJnVgV+MrTufz1JcI4Bw6VbdV7wbpMUwGVIWe5UJO3PYeROUdRO9tYBX6X3J6Zux1THLd2V1Zmw2CHcq3qNleeY8aSfxBlZ7vfcPo=
Context (required)
I need it to update the listing with the uploaded image URL. Please Note the supabase image upload will not work for me to grab the uploaded image URL because I need the storage policies not to be public.
Screenshots / recordings
Your environment
- Version of FlutterFlow used: 3.3.4 (13 January 2023)
- Platform (e.g. Web, MacOS Desktop): Desktop
- Browser name and version: Google Chrome
- Operating system and version (desktop or mobile): Windows 11
