Latest #liveview-form Threads Top

PaleWatcher
Suppose you have two fields in a Phoenix LiveView form where both are user-editable, and each one can be used to calculate the other. Ex...
New
JohnnyCurran
I’ve been writing LiveView since 2020. In that time, I’ve seen the same three form mistakes at multiple companies. Here’s what they are a...
New
mruoss
Hey there, I’m playing with Ash and TypedStructs. I defined an update action on a resource which takes a TypedStruct as argunent: With S...
New
bvobart
Hi Elixir forum! I have a function component to view, edit and delete an object from my database. This component obviously contains a fo...
New
mogadget
I have a relationship User has_one Profile. In my User defmodule Cal.Accounts.User do actions do defaults [:read] create ...
New
Mati365
Phoenix has great tooling overall, but one thing that’s still lacking is a solid, plug-and-play integration with a modern WYSIWYG editor....
New
Wigny
Hey folks, I have a problem that does not seem to have a straightforward solution to me, but it feels like it should have one: How shou...
New
etiennelacoursiere
I’m struggling with the proper way to handle nested associations in a Phoenix form when I need to manually manipulate form data. Let me ...
New
amos-kibet
I have a form that I use to add users to an organization, that looks like this: The problem: Clicking on the Add User button takes a...
New
ammancilla
TLDR; A recoverable form rendered through a Live Component doesn’t recover after crashes or disconnects. DETAILS Specifications Phoe...
New

This Week's Trending Top

This Month's Trending Top

Mati365
Phoenix has great tooling overall, but one thing that’s still lacking is a solid, plug-and-play integration with a modern WYSIWYG editor....
New

This Year's Trending Top

trisolaran
Hi! :waving_hand: I would like to present LiveSelect, a little library that I wrote to easily add a dynamic selection input to your LV f...
198 10836 107
New
niccolox
Does anyone have good suggestions for HTML editors which integrate nicely into Phoenix Liveview? I am especially interested in the inlin...
New
coen.bakker
This must be something minor, but I can’t seem to put my finger on it. Why are the values of the <.form> not reset on a successful ...
New
PJUllrich
Hey folks, I have the unique problem that I need to ignore all “change” and “input” events for one specific input element in a LiveView F...
New
elixirdev
Hi everyone, I am using LiveView file uploading which is working awesome. but when I deploy my server if someone uploading files, it sto...
New
JohnnyCurran
I’ve been writing LiveView since 2020. In that time, I’ve seen the same three form mistakes at multiple companies. Here’s what they are a...
New
PaleWatcher
Suppose you have two fields in a Phoenix LiveView form where both are user-editable, and each one can be used to calculate the other. Ex...
New
bvobart
Hi Elixir forum! I have a function component to view, edit and delete an object from my database. This component obviously contains a fo...
New
mogadget
I have a relationship User has_one Profile. In my User defmodule Cal.Accounts.User do actions do defaults [:read] create ...
New
mruoss
Hey there, I’m playing with Ash and TypedStructs. I defined an update action on a resource which takes a TypedStruct as argunent: With S...
New

Last Three Year's Trending Top

nallwhy
Sometimes I need to update a form from outside the form in LiveView. For UI, some inputs are need to be created outside the form. Updat...
New
Fl4m3Ph03n1x
Background I have a LiveView page where I have a small form. This form is supposed ton have a group of radio buttons, and a group of chec...
New
PJUllrich
Now available on Indie Courses Hi folks! Peter Ullrich here :slight_smile: I’m happy to announce my second video course called Building ...
New
theAntimon
Hey people. I’m trying to make my way through this article I’m not very experienced with Phoenix and LiveView I have to say. Just fin...
New
pwightman
Context: I have a multi-step form (10+ steps) made in LiveView (Surface, technically, but I think this question is not Surface-specific)....
New
kevinschweikert
Hi together, i want to build a filter UI where the user can select some items with a checkbox and then the results get filtered based on...
New
FeeJai
I am currently building a form that contains an input type=date and a select which allows users to chose a location. Depending on the loc...
New
calebgasser
I may be going about this the wrong way but I can’t seem to figure out a good way to handle input for “tags” in a blog post. I’ve looked ...
New
silverdr
I have a (LiveView) form with some inputs for fields, which are backed by relatively large precision/scale decimals. The problem I have i...
New
nallwhy
When using phx-submit in a form within LiveView, I want to include data from other elements connected via hooks in the params. I thought...
New
loop-index
I am trying to integrate a TipTap editor into my edit FormComponent. Right now I have a separate LiveView component for the editor: @imp...
New
RicoTrevisan
I’ve got this div – let’s call it dragging – in a Liveview . It has a Hook that runs sortableJS on the client to make the list drag-drop....
New
axelson
I’m trying to reset my LiveView form programmatically (on submit) but I’m having lots of trouble getting the form to reset programmatical...
New
djaouen
Hello, I am trying to figure out why my LiveView forms aren’t displaying errors. It looks like they are being set in the appropriate ha...
New
ammancilla
TLDR; A recoverable form rendered through a Live Component doesn’t recover after crashes or disconnects. DETAILS Specifications Phoe...
New

Trending Over Three Years Top

sodapopcan
I was wondering if there are any discussions around the new to_form/2 in LiveView 1.18.2. I’ve RTFM’d but there is just some dissonance ...
New
drapermd
I was wondering if there has been any work integrating LiveView with react components? I’m not thinking of server-side rendering, but som...
New
silverdr
Let’s say there’s a typical form with phx-change="validate" on the form level and there are also some fields in the form, which have phx-...
New
pavancse17
Hi Devs, I am using Uploads — Phoenix LiveView v0.15.4 (hexdocs.pm) feature in my application. I am using it with auto_upload: true opti...
New
tehwilsonator
Hello! I have a LiveView generated on “scheduler” model with --live, where the model has (among others) a “date_range_start” field that i...
New
pejrich
I’m trying to use this WYSIWYG Markdown editor in my live view form https://github.com/sparksuite/simplemde-markdown-editor (Does anyone ...
New
pwightman
I have a form that starts like this: When clicking “yes”, another form element appears: The markup looks something like this: ...
New
Sanjibukai
Hello everybody, I have a form with many inputs… One of those inputs (for example a date or a quantity) affects for example a total pri...
New
dalerka
I’m trygint to get Awesomplete working to add multiple tags to a post. However following instructions doesn’t do anything, i.e.: I hav...
New
zoedsoupe
I followed this tutorial: Nested model forms with Phoenix LiveView - Tutorials and screencasts for Elixir, Phoenix and LiveView I have a...
New
andreyuhai
For example, if I have a button which has an SVG element inside then I can not really use phx-disable-with because it will just replace t...
New
chrisdel101
In LiveView how can I pass my data back to the controller? Non-liveview like Route.path_helper(conn, :new, user: @user, employee: @employ...
New
silverdr
In another thread we discussed how to get input sets’ indices of a has_many association inputs inside a nested form. This was quickly sol...
New
smahi
When uploading a file using live_view form the following error is thrown [error] GenServer #PID<0.832.0> terminating ** (KeyError)...
New
josefrichter
Hi, what is the correct way to update URL params upon submitting a form, please? I have a search input field with standard submit button...
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