Skip to content

MudSelectExtended causes InvalidCharacterError on .NET 10 #585

Open

Description

@james-nahvac

MudSelectExtended causes InvalidCharacterError on .NET 10 in a brand new project.

Steps to reproduce:

  1. Create new project targeting net10.0 using "Blazor WebAssembly Standalone App" template
  2. Install MudBlazor and MudBlazor.Extensions (I used MudBlazor 9.0.0-preview2 and Extensions 9.0.0-preview3)
  3. Follow instructions to add css, script tags, services to Program.cs, using directives in _Imports, etc.
  4. Create new page:
@page "/Test"

<MudSelectExtended T="string" Label="Data Based" ItemCollection="_collection"  />

@code {
    private string[] _collection = new string[] { "Foo", "Bar", "Fizz", "Buzz" };
}

Loading page immediately causes:

crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
      Unhandled exception rendering component: InvalidCharacterError: String contains an invalid character
InvalidCharacterError: String contains an invalid character

Activity

  1. mckaragoz commented on Jan 15, 2026

    @mckaragoz
    Contributor

    It's working on docs and also my local computer. Do you have extra information about the issue?

    Edit: It's probably about versioning. MudBlazor 9.0.0-preview.2 has new changes, so:
    Use MudBlazor 9.0.0-preview.1 with MudExtensions 9.0.0-preview.3
    Use MudBlazor 9.0.0-preview.2 with MudExtensions 9.0.0-preview.4 (preparing)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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