Files
2024-05-20 01:12:54 +02:00

5 lines
173 B
PHP

@php
$type = $attributes->has('type') ? $attributes->get('type') : 'date';
@endphp
<input type="{{ $type }}" {{ $attributes->merge(['class' => 'input-global-date']) }}>