vito/resources/views/components/select-input.blade.php
Saeed Vaziry 5c72f12490 init
2023-07-02 12:47:50 +02:00

6 lines
343 B
PHP

@props(['disabled' => false])
<select {{ $disabled ? 'disabled' : '' }} {!! $attributes->merge(['class' => 'border-gray-300 dark:border-gray-700 dark:bg-gray-900 dark:text-gray-300 focus:border-primary-500 dark:focus:border-primary-600 focus:ring-primary-500 dark:focus:ring-primary-600 rounded-md shadow-sm']) !!}>
{{ $slot }}
</select>