Replies: 7 comments 4 replies
-
We don't currently have a way to limit the filter or list columns available, though you can set the default columns to show in the List view for a collection, see I think we should add properties that control list and filters to the field As a workaround you could make a custom List component for the collections you want to have more control over. From there you copy the existing List component from the source and add your own filter for field names to make them not appear in the columns / filters. As I write this out I'm realizing this may be more work than just adding the feature to Payload... There is a lot you could do with your own components, but what you're describing should be build in to the Payload configuraition long term. I'd be happy to prioritize these features or review and test any PRs that come in. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the response. Yeah, for the time being I'll create a custom component using payload source code. It's definitely a lot to manage, but it will work. It def would be awesome to have this as part of the config. it would be nice to be able to search more than one field as well. |
Beta Was this translation helpful? Give feedback.
-
@DanRibbens I'd like create a PR to add an option like Anything else to pay attention to except this contributing guideline? |
Beta Was this translation helpful? Give feedback.
-
@DanRibbens Was wondering if there were any advancements on this issue. |
Beta Was this translation helpful? Give feedback.
-
Any updates on this? |
Beta Was this translation helpful? Give feedback.
-
If anyone has a new year's resolution is to contribute more to open-source, this would be a great enhancement to work on ;) I'd gladly review it when it is opened. |
Beta Was this translation helpful? Give feedback.
-
This has been added in v2.16.0 ✅ 🎈
|
Beta Was this translation helpful? Give feedback.
-
On the list view for a collection, I would like to limit the amount of columns a user can select to display. I would also like to specify which fields are filterable. I mostly want to do this to streamline/simplify the admin panel for certain collections. Or possibly even hide the columns / filter buttons for some collections. Is this possible? I didn't see anything in the docs about it.
Beta Was this translation helpful? Give feedback.
All reactions