Latest #forms Threads 
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
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
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
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
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
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
I am building a LiveView form where, after initial user input, validation of the changeset includes “normalizing” one of the fields (let’...
New
Hey folks,
I’m currently working on adding an address form to Keila. Unfortunately, address forms can be wildly different from country t...
New
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
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
This Month's Trending
This Year's Trending
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
While Uploading files with LiveView, is not returning %Plug.Upload{} struct in handle_event/3 function, instead it is returning string so...
New
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
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
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
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
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
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
I have DropZone.js set up to accept an uploaded file.
<div class="container">
<%= form_for @conn, Routes.admin_upload_path(...
New
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
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
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








