Closed cregourd closed 3 weeks ago
Experiencing this with a array of strings
Hey @cregourd, is there any estimation on when this will be added? Or any way we can help?
It's a pretty common use case to have a scalar list. Then, since we can't even override the input itself, we are forced to create a lot of custom pages
Hello @FacundoSpira I can start having a look next week depending on the time I have, but feel free to open a PR if you want !
Available in v5.3.0
Summary
Allow the use of list type in the Prisma model. Currently, arrays are used to represent relationships in forms. However, Prisma allows users to create scalar lists. Find a way to distinguish between relationship arrays and scalar lists.
Basic Example
Imagine a
Post
which has atags
property as a list of strings. This feature allows you to order/add/remove tags for a PostDrawbacks
No response
Unresolved questions
No response