Skip to content

Commit

Permalink
fix dropdown component
Browse files Browse the repository at this point in the history
  • Loading branch information
3x1io committed Apr 25, 2024
1 parent dbc2c8d commit a06987e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/components/dropdown.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<SpladeDropdown class="w-full" {{ $attributes->except('class')
<SpladeDropdown @if($full) class="w-full" @endif {{ $attributes->except('class')
->mergeVueBinding(':inline', $inline)
->mergeVueBinding(':teleport', $teleport)
->mergeVueBinding(':close-on-click', $closeOnClick)
Expand Down
1 change: 1 addition & 0 deletions resources/views/form/file.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
v-on:stop-uploading="form.$stopUploading"
:dusk="@js($attributes->get('dusk'))"
{{ $attributes->only(['v-if', 'v-show', 'class']) }}

>
<template #default="{!! $scope !!}">
<label class="block">
Expand Down
1 change: 1 addition & 0 deletions src/Components/Dropdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public function __construct(
public bool $inline = false,
public bool $teleport = false,
public bool $closeOnClick = false,
public bool $full = true,
) {
$this->spladeId = Str::random();
}
Expand Down

0 comments on commit a06987e

Please sign in to comment.