Making text areas use monospaced font and disabling spellcheck by default

This commit is contained in:
= committed 2024-04-16 17:29:09 +01:00
1 parent dc7f56b7aa
commit 379212b8fe
3 files changed
+4 -3

No files matched your search

@@ -56,7 +56,7 @@
</div>
@else
<textarea {{ $allowTab ? '@keydown.tab=handleKeydown' : '' }} placeholder="{{ $placeholder }}" {{ $attributes->merge(['class' => $defaultClass]) }}
<textarea {{ $allowTab ? '@keydown.tab=handleKeydown' : '' }} placeholder="{{ $placeholder }}" spellcheck="{{ $spellcheck ? 'true' : 'false' }}" {{ $attributes->merge(['class' => $defaultClass]) }}
@if ($realtimeValidation) wire:model.debounce.200ms="{{ $id }}"
@else
wire:model={{ $value ?? $id }}