Skip to content

Commit

Permalink
Fix sliders not rendering edit indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
marcel2215 committed Jul 22, 2024
1 parent be2580b commit 8a58153
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Components/DPDecimalSlider.razor
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<span class="@LabelClass"> — </span>
<span class="@LabelClass">@Math.Round(Percentage, 2)%</span>
}
<span class="@EditIndicatorClass">●</span>
</label>
}
<input id="@_id" type="range" class="@SliderClass @WidthClass" min="@MinValue" max="@MaxValue" step="@Step" disabled="@Context.IsDisabled" @bind="InternalValue" @bind:after="InvokeValueChangedAsync">
Expand Down
1 change: 1 addition & 0 deletions src/Components/DPSlider.razor
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<span class="@LabelClass"> — </span>
<span class="@LabelClass">@Math.Round(Percentage, 2)%</span>
}
<span class="@EditIndicatorClass">●</span>
</label>
}
<input id="@_id" type="range" class="@SliderClass @WidthClass" min="@MinValue" max="@MaxValue" step="@Step" disabled="@Context.IsDisabled" @bind="InternalValue" @bind:after="InvokeValueChangedAsync">
Expand Down

0 comments on commit 8a58153

Please sign in to comment.