-
Notifications
You must be signed in to change notification settings - Fork 723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to render a 'reference_many' field just like a 'referenced_list' field #1316
Comments
You could try with a template or by using a custom type |
Hello, As explained in the README, the GitHub issue tracker is for bugs and enhancement requests. Thanks for using ng-admin! |
I considered this an enhancement request. Maybe I haven't investigated enough but as a new user who read through all the docs and examples and browsed the implementation, I couldn't see how this could be achieved. |
My bad! I open it again. |
Thank you, @Kmaschta. If there's a simple way to achieve this, I'd love to know and it'd make a good example in the docs. :-) |
If you want to write a PR, I suggest you to add an option to the Otherwise, the only way to change the |
The default rendering of reference_many is appropriate for things like tags and categories. In my use case, the user experience should be the same as for referenced_list, even though the relationship is held in the opposite (reference_many) direction. I'd like to see a list view even if only showing a single target field (although the option of multi column with several target fields just like referenced_list would be even better).
Probably this is possible now or an enhancement that could be added, but I haven't been able to work out how yet. Guidance gratefully received.
The text was updated successfully, but these errors were encountered: