Making text areas use monospaced font and disabling spellcheck by default

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

View File

@@ -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 }}