strapi-plugin-menus
strapi-plugin-menus copied to clipboard
[request] Create multiple item types
Hello,
I am testing your plugin (which most likely seems great) and I think a feature is missing (or at least I am not sure how to do it with the actual version).
It would be nice if we could create multiple types of items (or have a field that could toggle soem fields conditionnaly).
Concrete example:
I am building a mega menu with your plugin. Inside my mega menu I can have:
- Text items
- Card items
Card items do have additional fields (image, button text and such). However at the moment it seems I can only create a new tab (which is cool) and add my additional fields as optional fields.
It coud be great if I could define my needed types in a cleaner way.
Thank you !
Hi @aurelienbobenrieth Thank you for your interest in the plugin 🙂 I have an item on the roadmap for "Populate url
via relation" which I think may apply to your situation.
In a much earlier concept of this plugin I had MenuItems
connecting to Pages
which would automatically populate the url
field. This allowed my users to assign a menu item to an actual page in their system and if they updated the page url, it updated in the menu as well. Since migrating to Strapi v4, I removed that feature and left the url
field as a plain text field.
I say that to say this - When I get around to adding this feature I will also consider dynamic field conditions as well. Right now Strapi does not support that kind of thing unless you make your own custom field type and program it yourself.
I'll ping you on this ticket when this feature comes around 👍🏻