Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin Dashboard Can't Add ID to Relationship Data #1053

Open
4 tasks done
ChristopherGabba opened this issue Oct 12, 2023 · 2 comments
Open
4 tasks done

Admin Dashboard Can't Add ID to Relationship Data #1053

ChristopherGabba opened this issue Oct 12, 2023 · 2 comments
Labels
bug An issue which has been identified as a bug cms An issue identified as a cms bug/feature studio-ui An issue that needs to be tracked by Studio Console team ui-forms issues related to UI builder forms

Comments

@ChristopherGabba
Copy link

Before opening, please confirm:

App Id

d1mfubrlasurvn

Region

us-east-1

Environment name

Using the Admin Console on Website

Figma File Version (if applicable)

N/A

Amplify CLI Version

No response

If applicable, what version of Node.js are you using?

12.5.0

What operating system are you using?

Mac

Browser type?

Google Chrome

Describe the bug

When trying to link a user to the "to-dos" i created, I copy and paste the user's id into user ID and i get the following loading and it never adds:

Screenshot 2023-10-12 at 6 07 47 PM

Expected behavior

It adds the user id and allows me to submit it.

Reproduction steps

I developed my models for my application. For instance:

To-do model with one user to many To-dos

I am trying to populate it with fake data so that I can start pulling the data into my application.

Project Identifier

c8bc6e450011067eeb6e35e2f72f878f

Additional information

None.

@ChristopherGabba ChristopherGabba added the pending-triage An issue that is pending triage label Oct 12, 2023
@ykethan
Copy link
Contributor

ykethan commented Oct 13, 2023

Hey @ChristopherGabba, I was able to reproduce the issue. Marking as bug.

@ykethan ykethan added bug An issue which has been identified as a bug ui-forms issues related to UI builder forms studio-ui An issue that needs to be tracked by Studio Console team cms An issue identified as a cms bug/feature and removed pending-triage An issue that is pending triage labels Oct 13, 2023
@ykethan
Copy link
Contributor

ykethan commented Oct 16, 2023

@ChristopherGabba just an update, as a workaround: setting the 2nd field with a field as string after the ID field should mitigate the issue.

For example:

type Abc @model @auth(rules: [{allow: public}]) {
  id: ID!
  test: String
  descp: ENUM //non model type

Here the test field is set after the ID field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue which has been identified as a bug cms An issue identified as a cms bug/feature studio-ui An issue that needs to be tracked by Studio Console team ui-forms issues related to UI builder forms
Projects
None yet
Development

No branches or pull requests

2 participants