aws-amplify / aws-amplify/amplify-studio

Forms with Relationships not saving data

Open
#952 2 comments 0 reactions 0 assignees View on GitHub
bug cms studio-ui ui-forms
Dominant language
No language data
Stars
135
Forks
32
PR merge metrics
No merged PRs in 30d

Description

Hi again @ykethan, I tested this new feature and it works well. The only issue is when I select an item with a linked relationship, it doesn't save the form correctly. Here's a video reproducer:

https://github.com/aws-amplify/amplify-studio/assets/47440012/fa7f87c1-0944-4530-a69d-f490d636ace6

I checked the Dynamo tables and they also don't have the relationship data added.

I also accessed the older /content editor interface and that allows me to link table content to its related table.

![Uploading Screen Shot 2023-05-30 at 9.09.40 PM.png…]()

Any idea how to make it save the whole lot together?

_Originally posted by @DougalW in https://github.com/aws-amplify/amplify-studio/issues/924#issuecomment-1567834125_

Contributor guide

Open the contributing guide

Research direction

Reproduce the relationship-selection case using the linked video, then trace the form-save flow and compare it with the older /content editor behavior. Confirm the relationship data is written to the Dynamo tables and remains linked after saving and reloading the form.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
database, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.