]> BookStack Code Mirror - bookstack/blobdiff - resources/views/components/custom-checkbox.blade.php
Fix build:js:watch not building at first launch in Docker
[bookstack] / resources / views / components / custom-checkbox.blade.php
index 6ba2f457f88925f6b4dad718fbd176e6bdc9aed7..2bf4e223201a5e04b8accd48b575f7b887f378c5 100644 (file)
@@ -3,12 +3,10 @@ $name
 $value
 $checked
 $label
-$tabindex
 --}}
 <label custom-checkbox class="toggle-switch @if($errors->has($name)) text-neg @endif">
     <input type="checkbox" name="{{$name}}" value="{{ $value }}" @if($checked) checked="checked" @endif>
-    <span tabindex="{{ $tabindex ?? '0' }}"
-          role="checkbox"
+    <span tabindex="0" role="checkbox"
           aria-checked="{{ $checked ? 'true' : 'false' }}"
           class="custom-checkbox text-primary">@icon('check')</span>
     <span class="label">{{$label}}</span>