This Week's Trending Top

This Month's Trending Top

silverdr
Using Phoenix.LiveView.TagEngine as an EEx.Engine is deprecated! To compile HEEx, use Phoenix.LiveView.TagEngine.compile/2 instead. Sta...
New
sergio-ocon
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
Gladear
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 Top

dblack
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
rio517
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
ryanzidago
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
vekvek
I recently started exploring LiveView. I can’t figure out how to pass custom named slots into <.live_component>. Here is my code:...
New
axelson
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
duncanphillips
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
ChristophK
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
idi527
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
kalkatfyodor
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
starkeepers
hello - in the (very) simplified example below, liveview re-renders the entire form whenever (the datalist of) one input changes, thereby...
New
i-n-g-m-a-r
Does anyone know what is the point of: let csrfToken = document.querySelector("meta[name='csrf-token']").getAttribute("content") let liv...
New
sergio
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
SeokminHong
I want to use a module attribute in HEEx code, like following code: defmodule MyView do use Phoenix.LiveView @test "Test!" def re...
New
Sleepful
I want to accomplish something similar as Phoenix.LiveView.JS, per the docs: While these operations can be accomplished via client-side...
New
RobertoSchneiders
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 Top

svb
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
kuon
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
josefrichter
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
GeorgeMiller
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
ianc
I want to disable websockets in my browser (e.g Chrome, Firefox, etc) to experience the JS fallback (longPoll) in my LiveView application...
New
ghenry
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
DOKL57
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
silverdr
I know I can have heex attributes like phx-click="eventid" in the markup and then def handle_event("eventid", _, socket), do: [...] But...
New
albydarned
Hello all! I am testing out live view, and have a button as follows: <%= link “DELETE” to: “#”, phx_click: “delete_row”, phx_value: ...
New
co0lsky
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
adrianbarbic
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
neilberkman
I’m trying to implement some TailwindUI components using LiveView and some of these specify enter / leave transitions to be implemented i...
New
christo-ph
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
behe
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
ScriptyScott
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 Top

komlanvi
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
ydd
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
josefrichter
Simple question re. code organization: do you do preloads in context, or in controller/liveview? Say a basic function in context looks l...
New
Fl4m3Ph03n1x
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
cnck1387
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
learning123
Hey all, I’m new to elixir and getting the following error: ** (FunctionClauseError) no function clause matching in TSS.DriverStatuses.l...
New
Hentioe
My router: live "/cities/:id/users", CityLive I tried the handle_params function but it was never called: def handle_params(%{"id" =&g...
New
lc0815
any suggestions on how to convert this: [mss: “Market Support Specialist”] to this: [{“mss”, “Market Support Specialist”}] thanku
New
iacobson
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
Cervajz
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
zamith
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
kminevskiy
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
idi527
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
MartinElvar
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
martin.jahn
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

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement