This Week's Trending
This Month's Trending
Using Phoenix.LiveView.TagEngine as an EEx.Engine is deprecated!
To compile HEEx, use Phoenix.LiveView.TagEngine.compile/2 instead.
Sta...
New
I have an idea to fully use DurableServer.
For a long time I had the idea of creating a management system using Phoenix, but there was s...
New
I think I remember reading somewhere that calling `assign/2,3` in the `render/1` callback of a LiveView or a LiveComponent is bad practic...
New
This Year's Trending
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar.
I p...
New
Hi!
I’m prepping to use flatpickr, a date picking library which attaches to a specific input field. I’m curious as to the best approach ...
New
Hi all,
I have the following apps:
an application server that host my Elixir, Phoenix app hosted on Fly.io
an AI server hosting OpenAI...
New
I recently started exploring LiveView.
I can’t figure out how to pass custom named slots into <.live_component>.
Here is my code:...
New
One of my LiveView view’s has a very heavy javascript dependency so I want to avoid loading it for every page on the site, while still us...
New
Hi,
I’m looking at improving the text editing capabilities in our app and would like to introduce a rich text editor experience like tip...
New
I have an app where we allow parts of the app to be embedded into other pages. This all works in Chrome, Firefox but not in Safari. In Sa...
New
I’m currently in a process of optimising the client part of a liveview app and wondered if anyone had tried using lazy loading with livev...
New
Although Alpine seems to be working OK, I see this error in my console:
Any idea why is this happening and how can I fix it?
All the...
New
hello - in the (very) simplified example below, liveview re-renders the entire form whenever (the datalist of) one input changes, thereby...
New
Does anyone know what is the point of:
let csrfToken = document.querySelector("meta[name='csrf-token']").getAttribute("content")
let liv...
New
In Phoenix Liveview uploads, you need to surround the upload helper function in a form, with a submit button.
How can I build something ...
New
I want to use a module attribute in HEEx code, like following code:
defmodule MyView do
use Phoenix.LiveView
@test "Test!"
def re...
New
I want to accomplish something similar as Phoenix.LiveView.JS, per the docs:
While these operations can be accomplished via client-side...
New
I’ve been reading about session management on Phoenix LiveView for the last couple of days and can’t seem to find a solution for this pro...
New
Last Three Year's Trending
Hi!
Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New
When reading about live view, I read this from José:
Why would the login be an horrible idea for LiveView?
And, as a more general ques...
New
Is there a way to have a flash message disappear (fade out) after a few seconds, please? Can’t find anything in docs nor on internets. Fe...
New
I am coding my first Liveview application. Liveview is awesome, but I have been stumped on something for several days now and need some ...
New
I want to disable websockets in my browser (e.g Chrome, Firefox, etc) to experience the JS fallback (longPoll) in my LiveView application...
New
Hi all,
I’m trying to use pdf.js and importing it like so:
import PDFJS from "../vendor/pdf.mjs"
so I can use it in a Hook to render t...
New
Hello! I stuck with the display flash at my LiveView template. And whatever I do, I don’t see the message on the page. I have two fields ...
New
I know I can have heex attributes like phx-click="eventid" in the markup and then
def handle_event("eventid", _, socket), do: [...]
But...
New
Hello all!
I am testing out live view, and have a button as follows:
<%= link “DELETE” to: “#”, phx_click: “delete_row”, phx_value: ...
New
Hi. I need some advice on choosing between LiveView and Vue.
My team’s current tech stack is Elixir, Phoenix, LiveView, and Vue. I find ...
New
Just playing around with Phoenix.LiveView.JS and wondering if there is a way to toggle classes on and off on an element? There is ‘add_cl...
New
I’m trying to implement some TailwindUI components using LiveView and some of these specify enter / leave transitions to be implemented i...
New
How can I create or simulate a link to navigate to another page/liveview? I do not want to create a whole <a> element, but create a...
New
I have created a list with items inn LiveView which when an item is clicked is rerendered as an input field. Is there a callback or simil...
New
Hey Folks,
I’m trying to send emails with Phoenix 1.6.4 and Swoosh. I was using Bamboo in a previous app and created a test web app to p...
New
Trending Over Three Years
Hi everyone,
I was playing with phoenix liveView but I run into an issue. I have a form and want to validate each input text when the te...
New
Hi all,
I’m a bit confused about the role of handle_params in the LiveView life cycle. I’ve read Phoenix.LiveView — Phoenix LiveView v1....
New
Simple question re. code organization: do you do preloads in context, or in controller/liveview?
Say a basic function in context looks l...
New
Background
I have a little pet project that does some requests to an external site. The logic is pretty much figured out and now I want t...
New
I’ve been reading the docs lately on LiveView and I’m having trouble figuring out when to use the above functions to change pages.
Can s...
New
Hey all, I’m new to elixir and getting the following error:
** (FunctionClauseError) no function clause matching in TSS.DriverStatuses.l...
New
My router:
live "/cities/:id/users", CityLive
I tried the handle_params function but it was never called:
def handle_params(%{"id" =&g...
New
any suggestions on how to convert
this:
[mss: “Market Support Specialist”]
to this:
[{“mss”, “Market Support Specialist”}]
thanku
New
Hi,
What would be a good way to pass some information from the conn to the LiveView socket ?
Let’s assume the following example
router...
New
Hello,
I’d like to use Phoenix function component but without the HEEX code being part of the module’s code - the HTML template is prett...
New
I’m creating a search form with filters and want both the query and the filters to change the URL. The filters and query can be set separ...
New
Hey folks,
Does anyone know what could cause the following behavior: I have a live view template and in it I conditionally render a form...
New
I’ve set phx-update="ignore" on a div and live view still updates its class. Does “ignore” apply only to the children of that element? Se...
New
Hello everybody,
I’m currently considering using LiveView for a new SaaS project. For the past many years i have been using Elixir for b...
New
So I’m stuck here with session problems. I set current user to session in a plug because there is no other way to get data from conn to l...
New
- Follow
- Join
- Shape
the conversation
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Sub Categories:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #hex









