-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Issue with Menu Items via the Admin Panel - Adding More Than One Child Item Not Working #15727
Comments
@smanny did you try this with the latest preview or main? I know this was an issue that I fixed couple weeks ago. |
@MikeAlhayek I got this from main. When I remove the local project reference |
I just tested the admin menu from the main branch and it seems to be working. Not sure what am I missing. Can you check your log files for additional clues? Did you follow the 1.9.0 breaking changes log? |
@MikeAlhayek Can the s, b, & c items be placed on the same level in your environment? I believe what you show there will output each child item under a new nested Looking for this:
I can add one sub-item or sub-sub items, but not more than one on the same level. I will look at the breaking changes log. I didn't see that. |
@smanny I am not sure I understand the issue you are raising. Here is what I see using I am also able to add more items and publish with no issue If you still think there is something I am missing, please provide steps to reproduce the issue along with the expected results. |
@MikeAlhayek The issue I am referring to is if you were to try and put (from your example) s, b, c, d on the same level. Right now, b is a child of s. C is a child of b etc. Are you able on your end to put those s, b, c, and d links as siblings? The outcome would create a dropdown under About with four child options (no flyouts). See my original attached image. When I try to put test 1 and test 2 together as siblings under Contact and publish, the second (or more) siblings will revert back to the top level. The system cannot save more than one sibling item together which would create an output like:
Rather than like:
|
@smanny The issue only happens with you have more than one child and try to move them out of their current parent to a main node. The driver actually throws an exception. I was able to re-produce it and fix it in PR #15766
|
@MikeAlhayek Thank you much! |
When trying to add more than one child item under a parent menu item then saving it reverts back to its original position in Admin.
I of course need to be able to add more than one item in a dropdown menu.
Examining in the Inspection window, it seems that maybe the Javascript isn't assigning the correct attribute values. See attached screenshot. (It may appear from the screenshot that it worked, but as soon as I "Publish" it reverts the position of the second child item back to the top level)
The text was updated successfully, but these errors were encountered: