Custom dropdowns

System Information
  • Strapi Version: v4.4.3
  • Operating System: Linux
  • Database: postgresql
  • Node Version: node:14-alpine
  • NPM Version: >
  • Yarn Version:

I have question regarding implementation custom components, especially custom dropdown (or possibility to apply filter on dropdown with relations).
We have two entities: category and report. Category can contain multiple reports, and the report can be related (can belong) to only one category.
We have two collections.
Our case is:

  • when the content manager creates a report in the relational dropdown she/he selects a category.
  • we need the possibility to have (under category collection or within other new collection) dropdown to select only one report for a specific category. E.g user selects the category then he will see only reports from this category and will be able to select only one.
    Is it possible to implement it using custom dropdowns or in some way using relations?


Do you want this for the strapi admin panel or for a custom frontend
Also to my knowledge it is not possible with out chancing the core admin code form the core admin from strapi if you want it in the admin panel

Yes, I need it for admin panel.

Only option I see for you is to change the core/admin code directly to get this to work