Skip to content

Commit 94ed319

Browse files
authored
[Docs] Add note about multiple parameter in listbox (#4514)
* Add listbox note about multiple * Wording
1 parent 7bf578d commit 94ed319

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

examples/Demo/Shared/Microsoft.FluentUI.AspNetCore.Components.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -795,6 +795,11 @@
795795
</summary>
796796
<returns>The minimum value for the underlying type</returns>
797797
</member>
798+
<member name="T:Microsoft.FluentUI.AspNetCore.Components.IStringParsableComponent">
799+
<summary>
800+
Defines an interface for components with values that can be parsed from a string.
801+
</summary>
802+
</member>
798803
<member name="P:Microsoft.FluentUI.AspNetCore.Components.IStringParsableComponent.ParsingErrorMessage">
799804
<summary>
800805
Gets or sets the error message to show when the field can not be parsed.

examples/Demo/Shared/Pages/List/Listbox/ListboxPage.razor

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,16 @@
2626
</p>
2727
</blockquote>
2828

29+
<blockquote>
30+
<p>
31+
<strong>Note:</strong> Although the component supports the <code>Multiple</code> parameter, the underlying web component does not correctly handle it.<br />
32+
The selected items state will not correspond with the rendered options.<br />
33+
<br />
34+
We strongly advise <strong>not</strong> to use the <code>Multiple</code> parameter with the <code>&lt;FluentListbox&gt;</code> at this time.
35+
</p>
36+
</blockquote>
37+
38+
2939
<h2 id="example">Examples</h2>
3040

3141
<DemoSection Title="Manual" Component="@typeof(ListboxManual)"></DemoSection>

0 commit comments

Comments
 (0)