leenooks/resources/components/form/date.blade.php

3 lines
315 B
PHP
Raw Normal View History

2024-07-23 13:50:02 +00:00
<x-leenooks::form.base {{ $attributes }}>
<input type="date" class="form-control {{ $classes ?? ''}}@error($old ?? $name) is-invalid @enderror" id="{{ $id ?? $name }}" name="{{ $name }}" value="{{ old($old ?? $name,$value ?? '') }}" @readonly(isset($readonly)) @required(isset($required))>
2024-07-23 13:50:02 +00:00
</x-leenooks::form.base>