Skip to content

Edit form for multiple tables #15058

Answered by mikesealey
Rickmh asked this question in Help
Nov 25, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hey @Rickmh

I've based the following on top of the app-export featured in the documentation that you posted. It's a little rough-around the edges, but you should hopefully get the picture.

In the Jobs table, I've added a button that runs 3 actions - The first two set some _ids in state (employee_id is fetched from the jobs assigned field), and the third navigates to a new page that contains a form.

For debugging purposes, on the new form screen, I've added a headline to display the _ids passed in using state - you should delete these later, but it's helpful while you're still building.

The component tree starts to get a bit tricky here, but the reasons will become apparent. I've got a Da…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Rickmh
Comment options

Answer selected by mikesealey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants