strapi-plugin-navigation icon indicating copy to clipboard operation
strapi-plugin-navigation copied to clipboard

Save button remains inactive after editing navigation config

Open nimame opened this issue 2 years ago • 4 comments

I was able to create my navigation structure in the UI Navigation tab that this plugin adds to Strapi admin. However, when I make changes to my navigation (adding new navigation items or changing existing ones) the "Save" button remains inactive, so I cannot save my changes.

Plugin version: 2.2.1 Strapi version: 4.3.8

nimame avatar Sep 22 '22 18:09 nimame

@nimame We recommend to use version2.2.2 where this issue being fixed.

cyp3rius avatar Sep 22 '22 18:09 cyp3rius

Thank you @cyp3rius. I upgraded to 2.2.2 but still get the same behavior. Now I also get a warning message when navigating to the "UI Navigation" tab: "Warning: Relations provided in some items are incorrect". I don't know in what way relations are incorrect. Any other suggestions?

nimame avatar Sep 23 '22 19:09 nimame

@nimame Do you have any internal items in your navigation? If so check if every item has a proper related field provided. This error is displayed when for some reason one of the navigation items doesn't have a related field but should have one. If this isn't the case in your navigation I will investigate further this behaviour.

ltsNotMike avatar Sep 26 '22 07:09 ltsNotMike

@ltsNotMike I have indeed found one item where no content-type was selected. Seems to have fixed the issue. Thank you.

nimame avatar Sep 29 '22 18:09 nimame

Great to hear. This should not happen again since I added some additional validation to the navigation item form to prevent this issue.

Closing the issue, please reopen if needed.

ltsNotMike avatar Oct 17 '22 08:10 ltsNotMike