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

3 lines
358 B
PHP
Raw Permalink Normal View History

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