We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97b2ec3 commit c5c656cCopy full SHA for c5c656c
1 file changed
src/Core/Components/List/FluentSelect.razor.cs
@@ -24,7 +24,7 @@ public partial class FluentSelect<TOption> : ListComponentBase<TOption> where TO
24
.AddStyle($"#{Id}::part(selected-value)", "white-space", "nowrap")
25
.AddStyle($"#{Id}::part(selected-value)", "overflow", "hidden")
26
.AddStyle($"#{Id}::part(selected-value)", "text-overflow", "ellipsis")
27
- .AddStyle($"#{Id}::part(selected-value)", "color", "var(--input-placeholder-rest)", when: !string.IsNullOrEmpty(Placeholder) && SelectedOption is null)
+ .AddStyle($"#{Id}::part(selected-value)", "color", "var(--input-placeholder-rest)", when: !string.IsNullOrEmpty(Placeholder) && SelectedOption is null && string.IsNullOrEmpty(Value) && SelectedOptions is null)
28
.BuildMarkupString();
29
30
protected override string? StyleValue => new StyleBuilder(base.StyleValue)
0 commit comments