gps_system/resources/views/flux/input/expandable.blade.php
sackey 6b878bb0a0
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
Initial commit
2025-09-12 16:19:56 +00:00

19 lines
390 B
PHP

@pure
@php
$attributes = $attributes->merge([
'variant' => 'subtle',
'class' => '-me-1',
'square' => true,
'size' => null,
]);
@endphp
<flux:button
:$attributes
:size="$size === 'sm' || $size === 'xs' ? 'xs' : 'sm'"
x-on:click="$el.closest('[data-flux-input]').querySelector('input').value = ''"
>
<flux:icon.chevron-down variant="micro" />
</flux:button>