This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

rhcarvalho
Asking to get a sense of what other people are doing with their template logic… The template code I’m reading some third-party template ...
New
loics2
Hey! I implemented this code some time ago to compile HEEx templates and give them to MJML (it’s mostly inspired by the live view render...
New
James_E
I have the following utility template, for a list that is required to be rendered as a grid whenever CSS is enabled: <%!-- grid_list....
New
roganjoshua
I need to show a inside a text element in SVG and try to use xml:preserve-whitespace which works but mix format on save modifies the out...
New
ryoung786
I’m using the excellent Flop and Flop.Phoenix libraries to handle sorting/filtering/etc, but I’ve run into an annoying warning I haven’t ...
New

Last Three Year's Trending Top

brucepomeroy
Specifically when only a substring in an attribute’s value if dynamic. Here’s a concrete example. I’m translating some templates from .le...
New
laiboonh
Out of curiousity how does conditional rendering :if heex attribute work? I look into the web console logs and see that if condition is t...
New
Fl4m3Ph03n1x
Background I have a Phoenix application, where all pages (expect the login page) have a menu at the top. This menu will therefore only a...
New
aceupmysleeves
Hi! I’m working in a liveview and want to fill attributes such as id, for label and title with a value from a for-loop. <ul> ...
New
Qqwy
Hi there! The recent developments w.r.t. Surface and HEEx are very cool! One thing that would be the cherry on top, would be an indentat...
New
artem
Hi all I am still learning Elixir, Phoenix and LiveView. I love the way I can describe the state in my LiveView and it is automagically ...
New
evanwalsh
Hello! I am trying to convert all the UI strings in the HEEx generated via phx.gen.auth to use gettext. However, I’m running into trouble...
New
stratigos
Hello I am new to Phoenix and am coming back to Elixir after a ~4 year hiatus. I would like to add HTML attributes to HEEx elements, and...
New
knoebber
Hello, I was looking over the code generated by phx.gen.auth in my app and I noticed this: <.form let={f} for={@password_c...
New
RooSoft
Using Phoenix 1.6.6 here. Is there a way to bring some CSS files nearer to their sole use in a HEEX template and still be hot reloaded b...
New
ianp99
I am new to Phoenix and Elixir and I am quite bad at it. I am making a component todos which successfully fetches the todos from the dat...
New
danubiolima
I’m new in Phoenix Liveview and I’m trying to create a quiz app to studying and pratice that framework. My app currently have three simp...
New
kccarter
I’m experimenting with different ways to incorporate a bit of Javascript into some of my pages. (Not using LiveView.) Consider the follo...
New
zimt28
Hello, I’m currently trying LiveView Native and would like to keep my html template file alongside the custom render(%{format: :swiftui} ...
New
DestroyedSoul
Hello, I am new to LiveView, Phoenix and Elixir, and I am struggling to populate the UI from the form contents. Here’s a simplified vers...
New

Trending Over Three Years Top

tadasajon
Suppose I have a *.heex template file that I am iterating rapidly on and I just want to comment out a chunk of it for a few moments. Wha...
New
AndrewKlymchuk
Hello folks! Are there any libraries for formatting of HEEx templates?
New
kalkatfyodor
Is there an alternative to Alpine.js in Phoenix 1.6? I am trying to use this simple example: <div x-data="{ open: false }"> ...
New
thanos
What’s the equivalent Heex of this Leex example: <ul> <%= for {option, css_class} <- @options do %> <li> ...
New
Euphorichuman
I’ve been starting to work with Phoenix framework, I am currently following some LiveView tutorials. The tutorial that I am currently fol...
New
Anko
I have a bunch of components and a list of data with different “types”. I want to render the appropriate component depending on the type...
New
florish
I’m running into some problems while upgrading a Phoenix project from 1.5 to 1.6. Specifically, my question is: why is phoenix_live_view ...
New
tadasajon
I want to disable an HTML button conditionally in a HEEX template. Currently I am doing this: <%= if @valid_sheet do %> <b...
New
tadasajon
I have a template file that looks like the following: <h1> The title: <%= @title %> </h1> <%= Jason.encode(@my_dat...
New
tmbb
I’ve been out of the loop for the whole HEEx thing, despite experimenting a lot with EEx rendering optimizations. I have some HEEx quest...
New
Sebb
with EEx.function_from_file I can create a function from an eex-template, call it and get a rendered string back. How can I do that with...
New
jaimeiniesta
What is the proper way to interpolate boolean attributes like checked in an input in the new HEEx engine? For example, in LEEx if I want...
New
nesimtunc
Hello everyone, I’m seeking help in converting the following HTML code snippets into the new HEEx template format: <dd class="descp"...
New
nickurban
I’ve been converting my EEX and LEEX to HEEX and so far it’s been working fine. But I ran into one problem that I couldn’t figure out. I...
New
Fregate
Before Heex I could do something like this: <div id="profile" class="border-2 bg-white px-4 py-1 <%= if @user.active, do: "bg-whit...
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