Relative Content

Tag Archive for elixirphoenix-live-view

File upload not saving files to folder

I’ve followed the Phoenix LiveView file upload code here https://hexdocs.pm/phoenix_live_view/1.0.0-rc.7/uploads.html and so far everything works just fine with no errors, the only thing I noticed is that the file (images in my case) are not actually being saved. Instead of I have this long, weird filename with no extension e.g. live_view_upload-1733165679-200177911668-2

File upload not saving files to folder

I’ve followed the Phoenix LiveView file upload code here https://hexdocs.pm/phoenix_live_view/1.0.0-rc.7/uploads.html and so far everything works just fine with no errors, the only thing I noticed is that the file (images in my case) are not actually being saved. Instead of I have this long, weird filename with no extension e.g. live_view_upload-1733165679-200177911668-2

Reset Form After Submission Elixir LiveView

I’m pulling out my hair because I know it’s probably something really small I’m missing, But I’m just trying to clear the form after a successful form submission – A Gist is created with no issues.

Reset Form After Submission Elixir LiveView

I’m pulling out my hair because I know it’s probably something really small I’m missing, But I’m just trying to clear the form after a successful form submission – A Gist is created with no issues.