Skip to content
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

Dropdown menu is not rendered in RC version #404

Open
khoaxuantu opened this issue Nov 16, 2024 · 0 comments
Open

Dropdown menu is not rendered in RC version #404

khoaxuantu opened this issue Nov 16, 2024 · 0 comments
Labels

Comments

@khoaxuantu
Copy link

khoaxuantu commented Nov 16, 2024

Describe the Bug

I'm setting up a nested array data in the application yaml file and expect to render dropdown menus for my navigation sidebar.

In the previous versions, it works exactly like the guideline.

But in the RC version, it does not work anymore.

I wonder if it is a bug or if we have deprecated the dropdown menu in the RC version. Because I do not find any
change in the announcement blog which related to the dropdown menu in the <navi> component.

Environment

  • OS: Ubuntu 24.04
  • Nue: 1.0.0-RC.1
  • Bun: 1.1.31

Minimal Reproduction

I'm having a dropdown menu as follows:

navside:
  Category1:
    - Content:
        - Page1: /1
        - Page2: /2
        - Page3: /3
<aside>
  <navi :items="sidenav"/>
</aside>

In the previous versions, it is rendered as:

<nav>
  <h3>Category1</h3>
  <span aria-haspopup>
    <a aria-expanded="false">Content</a>
    <nav>
      <a href="/1">Page1</a>
      <a href="/2">Page2</a>
      <a href="/3">Page3</a>
    </nav>
  </span>
</nav>

But in [email protected], it instead is rendered as:

<nav>
  <h3>Category1</h3>
  <a href="[object Object],[object Object],[object Object]">Content</a>
</nav>
@khoaxuantu khoaxuantu added the bug label Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant