This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

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

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
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
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
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
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
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
coen.bakker
Quick question. I have been reading up on using forms in LiveView. I come across the error_tag/2 function often (for example in this 202...
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
petrus-jvrensburg
Just for anyone else running into the same thing: I have a JSON (actually JSONB) field in Postgres that’s defined as a map field on my ec...
New
neurodynamic
I have a LiveView form that allows editing of associations via inputs_for, but when I try to write tests for that behavior, I haven’t bee...
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
Sorc96
I have been searching for a way to deal with datetime values coming from forms. The datetime-local input does not care about time zones, ...
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
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
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
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
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
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
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
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
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum ❯

Similar Portals

    None added yet

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews