diff --git a/src/Core/Components/List/FluentSelect.razor.cs b/src/Core/Components/List/FluentSelect.razor.cs index 08541e3879..3f7e349bd1 100644 --- a/src/Core/Components/List/FluentSelect.razor.cs +++ b/src/Core/Components/List/FluentSelect.razor.cs @@ -24,7 +24,7 @@ public partial class FluentSelect : ListComponentBase where TO .AddStyle($"#{Id}::part(selected-value)", "white-space", "nowrap") .AddStyle($"#{Id}::part(selected-value)", "overflow", "hidden") .AddStyle($"#{Id}::part(selected-value)", "text-overflow", "ellipsis") - .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) .BuildMarkupString(); protected override string? StyleValue => new StyleBuilder(base.StyleValue)