keystone
keystone copied to clipboard
"Create related X" popover doesn't relate back to parent item
Steps
- Have schema with
UserandPostlists Post.useris in relationship withUser.posts- Open Admin
- Create new
Useritem by filling form and pressingCreate User - In the edit sheet, under
PostspressCreate related Post - The edit popover sheet appears to the right.
Expected
The User field is pre-filled with the relevant User record that we wanted to create "related" post for.
Actual
The form is completely empty (unless default values in field config) and one has to manually search and pick the correct User to create relationship, which is error-prone and tedious. Given that the popover has the context of where it was opened from, it should be trivial to pre-fill the field with the back-reference.
Have you any found solutions for prefill field value in 'create related x'?
Have you any found solutions for prefill field value in 'create related x'?
Yeah, nah. This part of admin is not customisable at all, so the fix needs to land in keystone itself.