Allow admins to order relationship fields with drag-and-drop #4068
Snailedlt
started this conversation in
Feature Requests & Ideas
Replies: 1 comment 2 replies
-
@Snailedlt can you achieve this using |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What?
Currently there's no way for admins to order the options in a hasMany relationship field. It would be nice if they could order the relationships by for example drag-and-drop. Perhaps ordering could be a new attribute
orderable
,admin.orderable
oradmin.dragAndDropOrdering
which is just a boolean?Why?
This might be useful for things like tags, where you'd want, say 10 tags... but in the frontend you'd only want to display 4 of them. The admin would like to control which 4 are displayed, so having them ordered by priority would be an easy way to allow that.
Beta Was this translation helpful? Give feedback.
All reactions