Admin UI freeze on create if the model contains relationship field
See original GitHub issueBug report
Describe the bug
If you try to create a new record of object that contains relationship field the side panel of admin UI freeze. I had to close the tab with the application because the browser completely stopped responding.
To Reproduce
- create a new model with relationship field (type many)
- enter admin UI and click on create button
fields: {
question: {
type: Text,
isRequired: true,
},
answers: {
type: Relationship,
many: true,
ref: 'PollAnswer',
isRequired: true,
},
},
Screenshots
System information
- OS: macOS
- Browser:chrome
Additional context
Working packages:
"@keystonejs/app-admin-ui": "5.6.0",
"@keystonejs/fields": "6.1.0",
Packages contains bug:
"@keystonejs/app-admin-ui": "5.7.1",
"@keystonejs/fields": "6.2.0",
Issue Analytics
- State:
- Created 4 years ago
- Reactions:12
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Flask-Admin with additional field in relationship Many to Many
The problem is that Product object can have several ingredients and they cannot be specified in one form field. So flask_admin hints that ......
Read more >Define relationships between objects - Android Developers
This creates a chain of nested relationships between all of the tables that you want to query.
Read more >Customize the Django Admin With Python
In this tutorial, you'll learn how to customize Django's admin with Python. You'll use AdminModel objects to add display columns, calculate values, link...
Read more >Troubleshoot form issues in model-driven apps - Microsoft Learn
There are many possible reasons for a form to freeze, load slowly, or throw a "Web resource method does not exist" script error...
Read more >Power BI Desktop freezes when Creating Relationshi...
Hi! I am trying to create a relationship between 2 tables where both columns have type Whole Number; but as soon as I...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you all for reporting this and helping me track it down.
Very sorry about this bug people. A new version of fields and the admin-ui have been released:
🦋 New tag: @keystonejs/app-admin-ui@5.7.2 🦋 New tag: @keystonejs/fields@6.2.2
I’ve verified this as fixed but if you could all check and let me know if there are any further issues.