You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
defmoduleMyApp.UserAdmindodefcreate_changeset(schema,attrs)doMyApp.User.assoc_changeset(schema,attrs)enddefform_fields(_)do[username: %{label: "Username (Required)"},contacts: %{# IS THIS POSSIBLE?}]endend
Can this be achieved just by using form_fields
The text was updated successfully, but these errors were encountered:
Hello @alvnrapada
It's been a while, but this is not supported currently. It would be a nice feature though for future releases.
I'll keep this open for now just as a reminder.
How do you achieve nested form fields (like: inputs_for/2)?
Ex: When creating User, I also want to create contacts
Schema
Kaffy
Can this be achieved just by using form_fields
The text was updated successfully, but these errors were encountered: