TaskA/resources/views/components/text-input.blade.php

4 lines
199 B
PHP
Raw Normal View History

2024-06-16 08:11:32 +00:00
@props(['disabled' => false])
<input {{ $disabled ? 'disabled' : '' }} {!! $attributes->merge(['class' => 'border-gray-300 focus:border-indigo-500 focus:ring-indigo-500 rounded-md shadow-sm']) !!}>