Latest #form Threads Top

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
DestroyedSoul
Hello, I am using Phoenix 1.8.x where the modal core component has been removed. I try to use DaisyUI modal component like this: <!...
New
err0r500
Hi, I recently hit a performance issue with a liveview form. The structure the form edits has lots of association handled dynamically u...
New
maqnius
Hey there, I’m trying to add titles to the images being uploaded using the uploads guide. After tinkering a bit, I asked our beloved AI...
New
maqnius
Hey there :slight_smile: I was trying to adapt the Contexts Article using the Form Struct and to_form. I ended up having problems to re...
New
ravecat
How can I implement a form with m2m field (select shown in the screenshot)? I would like to emphasize that this is not a dynamic form, a...
New
MaratSH
Hello! I have a form where user inputs a phone (and other fields). I attach phx-hook to this input only, so it adds some masking for phon...
New
nikolis
Hello Fellas So I was building as the title implies a search Select functionality for a project of mine and since I was utilizing the fu...
New
DestroyedSoul
Hello, I am trying to implement more or less basic search screen. I use Phoenix/LiveView. I’ve come across an issue that means either I...
New
bgr11n
Hi. I’ve just installed phoenix and generated auth without live and for new registration have form like this: <.simple_form :let={...
New

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

DestroyedSoul
Hello, I have a page that consists of several user inputs and buttons. For real-time validation (as well as updating character count) I...
New
DestroyedSoul
Hello, I am using Phoenix 1.8.x where the modal core component has been removed. I try to use DaisyUI modal component like this: <!...
New
err0r500
Hi, I recently hit a performance issue with a liveview form. The structure the form edits has lots of association handled dynamically u...
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

Last Three Year's Trending Top

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
agonzalezro
Hi :wave: I am trying to create a live view that shows a form. This form will allow you to create an snapshot per each product you own. ...
New
dalhorinek
Hello. I’m working on a system with multiple different widgets in a dashboard. I don’t have widget specific schema, I would like to keep...
New
Nicemaker
I have a Product schema with a many_to_many relation for Tags. On the Edit Product Page I want to create a simple form that looks like t...
New
tmbb
There are some online examples on how to reorder nested form inputs built with <.inputs_for/> using the Sortable.js library and st...
New
jason.o
I’m trying to provide a default value (which is a name retrieved from a DB) to an input tag. When the form is mounted, the default value ...
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
i-n-g-m-a-r
Suppose one defines a simple form like this: <.simple_form :let={f} for={@changeset} focus={@focus}> Then how would one collect t...
New
sezaru
I have a LiveView with a form that has 2 buttons, a skip button and a submitbutton. Both buttons have a CSS that checks if the button ha...
New
Valeriy
Hi guys! I try CSV Export with Phoenix and LiveView with this guide CSV Export with Phoenix and LiveView - Tutorials and screencasts for...
New
nheingit
Hello, I set up an ash resource that has some embedded resources. (As a side note, I’d love some array helpers for the ash_forms, as I d...
New
roganjoshua
I am trying to get a basic for to do my bidding. I am very much a beginnner so many things are a bit cloudy. I have a heex template be...
New
maqnius
Hey there :slight_smile: I was trying to adapt the Contexts Article using the Form Struct and to_form. I ended up having problems to re...
New
yolo007wizard
As a front end noob I liked using this library a lot. Its fairly advanced and can even generate dynamic form inputs. Building something l...
New
ayrdim
Hey gang, I’ve got a simple form that I’m using to get some data from a textarea in liveview. I don’t have a validate form handler so th...
New

Trending Over Three Years Top

r00ster
Hi, I’d like to create a form in Phoenix 1.7 with one text field that has no underlying changeset. Previously I’d use form_for along wit...
New
venomnert
Context: I am trying to setup a simple liveview form. Help: When I visit the form /client/new and submit an entry, phx_submit event doe...
New
karang
I was wondering if there was some way to prevent the Enter key from submitting a Phoenix form. I would like the Enter key to be used for ...
New
BLacika
Hi! I would like to ask for help. I have a form and I would like to change the values of some fields if I change one of them. For examp...
New
athsche
I am very new to the Phoenix Framework. All I am trying to do is to get the input text from an html input, which is supposed to be a mess...
New
kaiba-ns
Hello, I need to toggle disabled attribute on an input field and have the following code: def is_disabled(true, attrs), do: [{:disabled...
New
wolfiton
Hi everyone, I am getting an error when i try to add a select in a nested form The error no function clause matching in Keyword.pop/3 ...
New
elt547
In a validate method on phx-change, it’s common to Map.put(:action, :insert) to the changeset. This is obviously used somehow by the form...
New
silverdr
When I try to AJAX-submit a form using JS FormData, like specified e. g. here: I receive: (Plug.Parsers.ParseError) malformed request,...
New
marcandre
Incredible I can’t figure this out, but I want a <select> that will log me in. Only issue is that LiveView will keep whichever opti...
New
Mukulch15
I have a simple phoenix live view form with a save button. I want to generate a warning whenever someone tries to exit a form without sav...
New
robinvdvleuten
I am trying to create a form with a list of addresses and allowing the user to delete or create new addresses through Javascript. I’ve us...
New
boiserunner
I have a LiveView that creates a changeset on mount and validate. defp build_changeset(data) do types = %{email: :string, distance_i...
New
f0rest8
Hi, TLDR: form attribute set on the input fields and button submit. I just wanted to share a solution I discovered when making live inl...
New
enkr1
I want to implement a multiple-select field where the user can search and can pick the item in the list with conditions (for example, if ...
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