Closed lpbonomi closed 8 months ago
@lpbonomi this should be fixed via @adminjs/prisma
5.0.2:
https://github.com/SoftwareBrothers/adminjs-prisma/releases/tag/v5.0.2
Additionally, you can install @adminjs/relations
1.0.1 which allows you to also sort M:N tables if using Prisma. This isn't currently possible with other adapters due to their limitations.
I can confirm it works on the new version, thanks @dziraf !
Contact Details
No response
What happened?
Trying to use the @adminjs/relations add on with a many-to-many relationship but get the following error:
I've tried using what @dziraf suggested in #1595 and it succeeds to display (but not to add any records) the many-to-many fields whenever there are none but fails otherwise with the error:
Bug prevalence
Whenever I go to the page using this feature
AdminJS dependencies version
What browsers do you see the problem on?
No response
Relevant log output
No response
Relevant code that's giving you issues