diff --git a/resources/views/components/input/range-slider.blade.php b/resources/views/components/input/range-slider.blade.php index 3dd67129b..e0c3d2ff6 100644 --- a/resources/views/components/input/range-slider.blade.php +++ b/resources/views/components/input/range-slider.blade.php @@ -1,4 +1,4 @@ -@props(['inputs' => true]) +@props(['inputs' => true, 'labels' => true]) @slots(['value']) @@ -35,10 +35,10 @@ class="range-max absolute pointer-events-none appearance-none z-20 h-5 w-full op
- @if (!$inputs) + @if ($labels)
@if ($value->isNotEmpty()) @@ -48,8 +48,8 @@ class="absolute z-30 top-5 left-0 bg-active text-white px-2 py-0.5 rounded-md -t @endif
@if ($value->isNotEmpty()) @@ -62,7 +62,11 @@ class="absolute z-30 top-5 right-0 bg-active text-white px-2 py-0.5 rounded-md t
@if ($inputs) -
+
!$labels, + 'mt-9' => $labels, + ])>