Skip to content

RadzenUserProfileMenu - Invalid Aria Expanded #2473

@ghericourt

Description

@ghericourt

Describe the bug
The "aria-expanded" attribute of the RadzenUserProfileMenu component is not rendered correctly. The parenthesis is not placed correctly. Resulting in C# code in the attribute instead of a valid boolean.

To Reproduce

  1. Use a RadzenUserProfileMenu in a page
  2. Check the generated html in the browser console
  3. See the wrong "aria-expanded" attribute's value

Expected behavior
The attribute is expected to have a simple boolean as a value, but the value is "False.ToString().ToLowerInvariant()".

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions