Skip to content

[dev-v5] fix: SSR for FluentSwitch and FluentCheckbox #4473

@MarvinKlein1508

Description

@MarvinKlein1508

🐛 Bug Report

SSR isn't working properly for FluentSwitch and FluentCheckbox

💻 Repro or Code Sample

Open the FluentUI demo here:
https://github.com/MarvinKlein1508/SSR_FluentUI-Blazor

  1. Enter any username and password
  2. Select either the checkbox or switch or both and try to submit.
  3. See error message

🤔 Expected Behavior

No error should be displayed

😯 Current Behavior

Image

💁 Possible Solution

🔦 Context

This used to work in v4. It is required for v5 to work as well in order to support Individual Accounts in the templates.

🌍 Your Environment

  • Browser Firefox, Edge & Chrome all at the latest version
  • .NET 10.0.2 and FluentUI 5.0.0-preview.26019.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA bugv5For the next major version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions