Skip to content

Commit

Permalink
Choices: fix blank (#570)
Browse files Browse the repository at this point in the history
Remove ID from Component.
  • Loading branch information
robsontenorio authored Aug 13, 2024
1 parent ea0c6fe commit 1bcc93a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/View/Components/Choices.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,15 +195,15 @@ public function render(): View|Closure|string
>
<!-- STANDARD LABEL -->
@if($label)
<label for="{{ $uuid }}" class="pt-0 label label-text font-semibold">
<div class="pt-0 label label-text font-semibold">
<span>
{{ $label }}
@if($attributes->get('required'))
<span class="text-error">*</span>
@endif
</span>
</label>
</div>
@endif
<!-- PREPEND/APPEND CONTAINER -->
Expand Down Expand Up @@ -270,7 +270,6 @@ public function render(): View|Closure|string
<!-- INPUT SEARCH -->
<input
id="{{ $uuid }}"
x-ref="searchInput"
@input="focus()"
:required="isRequired && isSelectionEmpty"
Expand Down

0 comments on commit 1bcc93a

Please sign in to comment.