Master/detail (parent-child) form? #1261
Replies: 3 comments
-
You should not by HTML specs, have forms within forms tho, what would be a use case for this? |
Beta Was this translation helpful? Give feedback.
-
Well, it could be any form of master/detail, for example for one order that
the user selects, I would like to display to the user all the items in that
order, with the possibility of CRUD for those items
It doesn't have to be HTML form in another one, since the order details
could be a dynamic table in the same form, I think
…On Wed, Mar 13, 2024, 20:52 Gustavo Fenilli ***@***.***> wrote:
You should not by HTML specs, have forms within forms tho, what would be a
use case for this?
—
Reply to this email directly, view it on GitHub
<#1261 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AELVEA4YZV5ZKJZCH4CCBGTYYCOAHAVCNFSM6AAAAABETRY3DSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DONZXGU4DC>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
The thing is, for most cases in this, both the parent and child are separated calls to the database correct? its not the parent job to get those properties in a crud to change the children, so for these cases you would have a form for the parent elements, and a form for the children elements and they don't know anything about each other, other than getting maybe the ID and rendering the children. In that case you can one, have it separate in two forms, or have a form with the parent, have children as group Can you explain a bit more on what exactly you need with those in mind, and where FormKit would help with that? |
Beta Was this translation helpful? Give feedback.
-
Is it possible to create a master/detail (parent/child) forms? (e.g. class/students or order/items-on-order). If yes, could you, please, provide a demo?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions