Preview a image before uploading it to Supabase | FlutterFlow

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ธ.ค. 2024

ความคิดเห็น • 2

  • @brunhenk
    @brunhenk หลายเดือนก่อน

    Hello!
    All good?
    First, congratulations and thank you for sharing your knowledge.
    See if you can help me.
    I have an Update Product screen. And on this screen, I need to add or remove photos already saved in Supabase.
    How to bring what is already saved, display it on screen and insert and/or remove images.
    Thank you in advance for your attention.

    • @ThethingIlearn
      @ThethingIlearn  หลายเดือนก่อน

      hey @brunhenk im great tnx for asking lets start by saying the way FlutterFlow using Supabase Storage natively its not very good the only 2 options they give you is upload and delete so every other action you want to do you will probable need a custom code or combination of page state (at leas from what i know of). that where i found the boundary of FlutterFlow. but one way i found is you can use ConditionalBuilder to display the image URL and other to display the image uploaded file, when they add new photo its add to a page state. then create a button to check if it upload file is set if he is delete the index he replace from the storage and remove from the row then last upload all the new files from the page state. its very junky and proboley will not have good performance but its one way im pretty sure there is more ways. i hope its helped in some way.