Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8501,7 +8501,7 @@
</member>
<member name="P:Microsoft.FluentUI.AspNetCore.Components.FluentStack.HorizontalAlignment">
<summary>
Gets or sets the horizontal alignment of the components in the stack.
Gets or sets the horizontal alignment of the components in the stack.
</summary>
</member>
<member name="P:Microsoft.FluentUI.AspNetCore.Components.FluentStack.VerticalAlignment">
Expand All @@ -8511,7 +8511,7 @@
</member>
<member name="P:Microsoft.FluentUI.AspNetCore.Components.FluentStack.Orientation">
<summary>
Gets or sets the orientation of the stacked components.
Gets or sets the orientation of the stacked components.
</summary>
</member>
<member name="P:Microsoft.FluentUI.AspNetCore.Components.FluentStack.Width">
Expand Down
23 changes: 23 additions & 0 deletions examples/Demo/Shared/Pages/Lab/CheckboxBug.razor
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
@using Microsoft.FluentUI.AspNetCore.Components
<FluentStack Orientation="Orientation.Vertical">
<FluentCheckbox Value="@Value.IsChecked"
ValueChanged="(isChecked) => ChangeDummyAsync(Value with {IsChecked = isChecked})">Checkbox</FluentCheckbox>

</FluentStack>



@code {

[Parameter, EditorRequired]
public required Dummy Value { get; set; }

[Parameter]
public EventCallback<Dummy> ValueChanged { get; set; }

private Task ChangeDummyAsync(Dummy dummy)
{
return ValueChanged.InvokeAsync(dummy);
}

}
6 changes: 6 additions & 0 deletions examples/Demo/Shared/Pages/Lab/Dummy.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// ------------------------------------------------------------------------
// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
// ------------------------------------------------------------------------

namespace FluentUI.Demo.Shared.Pages.Lab;
public record Dummy(bool IsChecked);
14 changes: 14 additions & 0 deletions examples/Demo/Shared/Pages/Lab/IssueTester.razor
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
@page "/issue-tester"

<FluentTabs>
<FluentTab Label="Tab1">
<CheckboxBug @bind-Value=@dummy />
</FluentTab>
</FluentTabs>


@code {

private Dummy dummy = new Dummy(false);


}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.VisualStudio.JavaScript.Sdk/1.0.1327710">
<Project Sdk="Microsoft.VisualStudio.JavaScript.Sdk/1.0.1477582">
<PropertyGroup>
<DebugAssetsDirectory>dist\</DebugAssetsDirectory>
<StaticWebAssetSourceId>Microsoft.FluentUI.AspNetCore.Components</StaticWebAssetSourceId>
Expand Down
2 changes: 1 addition & 1 deletion src/Core.Assets/esbuild.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as esbuild from 'esbuild'
import pkg from './package.json' with { type: 'json' }
import pkg from './package.json' assert { type: 'json' }

await esbuild.build({
entryPoints: [ pkg.source ],
Expand Down
Loading