Skip to content

Commit 17e8d9b

Browse files
committed
Finish single Choice
1 parent a5b5ad8 commit 17e8d9b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/View/Components/Choices.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,11 @@ public function render(): View|Closure|string
4343
@endif
4444
4545
<div x-data="{ open: false, display: ''}" @click.outside="open = false" class="relative">
46-
<span x-text="display"></span> /
47-
<span x-text="$wire.{{ $modelName() }}"></span>
4846
<div class="relative">
4947
5048
<!-- SELECTION DISPLAY -->
5149
<span
52-
class="bg-base-100 top-2 pt-1.5 h-8 @if($icon) left-8 @else left-3 @endif px-2 rounded-md font-semibold text-sm underline decoration-dotted hover:bg-base-300 cursor-pointer absolute"
50+
class="bg-base-100 top-2 pt-1.5 h-8 @if($icon) left-8 @else left-3 @endif px-2 rounded-md font-semibold text-sm underline decoration-dashed hover:bg-base-300 cursor-pointer absolute"
5351
x-show="!open && display"
5452
x-text="display"
5553
@click="open = true; @if($searchable) $refs.searchInput.focus(); @endif">

0 commit comments

Comments
 (0)