This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

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
shkokielixir
I’m new to pheonix and just going throught the getting started, I can’t find where to learn more about forms and the whole /new → post /c...
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

Last Three Year's Trending Top

Zesky665
Hi, Is there any standard way to implement a multiple select form with checkboxes in phoenix? I know that there is a multi-select thing...
New
chenbobby
In various code samples, I see different ways to create a form in a .heex template. What is the difference between using the following: ...
New
mitkins
I’m currently re-writing my form to create/edit Log entries with Phoenix Live View. I have an unorthodox UI - it has 2 submit buttons. 1 ...
New
neurodynamic
I’m trying to make a radio button selector for a public/private setting in a Phoenix 1.7 app using LiveView, and I feel like I’m missing ...
New
thojanssens1
I have a login page which allows to authenticate an admin. If there are no users at all in the database (first time the app runs), I wil...
New
hvanderheide
I’m trying to get some form styling going with tailwind in a (live) view. The approach below works, however the heex template seems to ge...
New
wktdev
I used the Phoenix generator to create a table and the accompanying HTML forms. The form inputs are input and I want to change one of th...
New
kccarter
We’re trying to create a form using the .form component and a map but unable to figure out the right combination. We are not using Ecto. ...
New
hendri-tobing
I have database tables: Companies, Devices, and Signs. The device belongs_to a Company and the Company has_many Signs. I want to show on...
New
calebjosue
Hello there all, I followed the steps depicted at mix phx.gen.auth — Phoenix v1.8.8 in order to get started with an authentication syste...
New
wwaldner
I would like to setup a nested form using a map. The form_for and to_form accept a map and this works for a single level form. %{"name" ...
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
lardcanoe
I have a User resource with has_many roles. The role has a time_period field, so when I show the array of roles using input_for, each ro...
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
Anber96
I am working with forms, and i want to implement a custom select field. That is, a styled select with that displays and img tag (or a sty...
New

Trending Over Three Years Top

Kurisu
I’m using materialize_css as view style in my templates. So I would like to generate something like this: <select class="" id="form_...
New
Terbium-135
Probably I’m overlooking something very obvious… How do I add selected to the option field depending on the value of type on rendering t...
New
carlosarli
Hello, I wanted to ask you if you could point me in the right direction on how to do something that I’ve been banging my head against fo...
New
tnederlof
I have several forms where I want to save the phone numbers of users. In the actual database the field is a string and I would like to sa...
New
zeus999
While Uploading files with LiveView, is not returning %Plug.Upload{} struct in handle_event/3 function, instead it is returning string so...
New
Sanjibukai
Hello all, I have a form with one price input field. In order to follow industry standards (and for learning purpose) I’m using Money. ...
New
phoebe
Hi, In my html.eex template form, I have a text_input form input and would like to pass to the placeholder a value based on some other f...
New
expilo
Hello, I need a select with search for a very long list of items in a view. Something like this one. select2. Autocomplete is welcome a...
New
Njala
Hi everyone! I’m currently making a web page were we can create protections. Each protection has a list of targets, which are created wh...
New
Nullstrike
How to pass a changeset in phoenix form? I use put_assoc function as I get the user struct from the cureent user that are assign to sess...
New
zivkovicp
I’m new to Elixir and Phoenix and I’ve been trying to prototype a difficult solution before committing to Phoenix for my new app, but I’m...
New
asnyder002
I have DropZone.js set up to accept an uploaded file. <div class="container"> <%= form_for @conn, Routes.admin_upload_path(...
New
jononomo
I have a form in my EEX file in my Phoenix project as follows: <%= form_for @conn, Routes.user_path(@conn, :create), [as: :user], fn ...
New
robinvdvleuten
How can I add a class to each select generated by date_select? I already created a custom builder but I can’t figure out how to add a cla...
New
BarelyFunctional
I’m starting to build a multi-step/page ‘wizard’ form, but from these forums and web tutorials, struggling to find the idiomatic way to b...
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