More components for forms, updated base component, updated CompsiteKeys based on thiagoprz/eloquent-composite-key

This commit is contained in:
2024-07-23 18:47:36 +10:00
parent b9a3cd5647
commit f32c29fa8c
12 changed files with 133 additions and 75 deletions

View File

@@ -0,0 +1,3 @@
<x-leenooks::form.base {{ $attributes }}>
<textarea class="form-control {{ $classes ?? ''}} @error($name) is-invalid @enderror" id="{{ $id ?? $name }}" name="{{ $name }}" @isset($placeholder)placeholder="{{ $placeholder }}"@endisset>{{ old($name,$value ?? "") }}</textarea>
</x-leenooks::form.base>