Latest #forms 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
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
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
wdtnh
I have a phoenix app with a lot of related tables. In particular, I have a regions (think territory) as a parent table that has a relate...
New
windexoriginal
I’m trying to get nested form_for attributes in LV (phoenix 1.8 rc 0, liveview 1.0) by following the patterns in `inputs_for/1 but I’m no...
New
toodle
I am building a LiveView form where, after initial user input, validation of the changeset includes “normalizing” one of the fields (let’...
New
wmnnd
Hey folks, I’m currently working on adding an address form to Keila. Unfortunately, address forms can be wildly different from country t...
New
evao
I am trying to migrate an app that uses controllers to live view. I have a form component that I believe handles the submit event and nav...
New
ashkan117
I wasn’t aware of normalize_input function in HTML.Form and thought it would be useful to start using more often in tandem with liveview ...
New

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
solnic
Hello! Today I released the first version of Elixir Drops :slight_smile: The announcement can be found on my blog but I’m also just past...
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

Trending Over Three Years Top

jakub-zawislak
Hi everyone, I’m coming from the Symfony (PHP) framework. I like Phoenix, but it has a one thing that was build much better in the Symfo...
New
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
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement