-
Notifications
You must be signed in to change notification settings - Fork 377
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
67 changed files
with
567 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,6 @@ | |
"[email protected]" | ||
], | ||
"projectName": "DEVDIV", | ||
"repositoryName": "microsoft-fluentui-blazor", | ||
"repositoryName": "fluentui-blazor", | ||
"template": "TFSDEVDIV" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,40 @@ | ||
| ||
@page "/counter" | ||
|
||
|
||
<FluentSelect Value="@_test.BMAddress" Items="@_ddval" | ||
ValueChanged="UpdateSelect2" /> | ||
@foreach (var t in _test.CBVal) | ||
{ | ||
<FluentCheckbox Value="t.Rval" /> | ||
} | ||
|
||
|
||
@code { | ||
|
||
private readonly test _test = new(); | ||
private readonly List<string> _ddval = new() { "one", "two" }; | ||
|
||
private readonly List<Row> _t2 = new() { new Row { Rval = true }, new Row { Rval = false }, new Row { Rval = false }, new Row { Rval = true } }; | ||
private readonly List<Row> _t3 = new() { new Row { Rval = false }, new Row { Rval = true }, new Row { Rval = true }, new Row { Rval = true } }; | ||
|
||
private void UpdateSelect2(string newVal) | ||
{ | ||
_test.BMAddress = newVal; | ||
if (newVal == "one") _test.CBVal = _t3; | ||
if (newVal == "two") _test.CBVal = _t2; | ||
if (newVal == null) _test.CBVal = new List<Row>(); | ||
} | ||
|
||
public class test | ||
Check warning on line 28 in examples/Demo/Shared/Pages/Lab/IssueTester.razor GitHub Actions / Build and deploy Demo site
|
||
{ | ||
public string BMAddress { get; set; } = "one"; | ||
public List<Row> CBVal { get; set; } = new(); | ||
} | ||
|
||
public class Row | ||
{ | ||
public bool Rval { get; set; } | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.