Set default image src in FileEditor
Hello! I am using the form builder inside a livewire component and have a field to save a profile photo. Attached is the photo of the UI and here is my code so far: https://gist.github.com/colinmac17/8b22912d53b4d5ecd293102ae4b351e6
My goal here: When the form loads the current profile picture should show in the circle if the photo is set in the database. Currently the filepath in R2 is saved in the database. Example: users/1/photos/becks.jpeg. How can I go about doing that? I've tried filling the form in mount and setting default() on the editor itself and both have not worked so far. I am using R2 as an s3 compatible driver for Storage.
Thank you in advance for your help!
My goal here: When the form loads the current profile picture should show in the circle if the photo is set in the database. Currently the filepath in R2 is saved in the database. Example: users/1/photos/becks.jpeg. How can I go about doing that? I've tried filling the form in mount and setting default() on the editor itself and both have not worked so far. I am using R2 as an s3 compatible driver for Storage.
Thank you in advance for your help!

