Skip to content

Commit f49f2fd

Browse files
committed
refactor: 更改禁用样式
1 parent c3ebfc3 commit f49f2fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BootstrapBlazor/Components/Dropdown/Dropdown.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public partial class Dropdown<TValue>
6868
/// <param name="item"></param>
6969
/// <returns></returns>
7070
protected string? DisableItem(SelectedItem item) => CssBuilder.Default("dropdown-item")
71-
.AddClass("is-disabled", item.IsDisabled)
71+
.AddClass("disabled", item.IsDisabled)
7272
.Build();
7373

7474
/// <summary>

0 commit comments

Comments
 (0)