An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
Making text areas use monospaced font and disabling spellcheck by default
=379212b8fe08
diff --git a/app/View/Components/Forms/Textarea.php b/app/View/Components/Forms/Textarea.phpindex 86547cf65b..28f4a45ba6 100644--- a/app/View/Components/Forms/Textarea.php+++ b/app/View/Components/Forms/Textarea.php@@ -23,10 +23,11 @@ class Textarea extends Componentpublic bool $disabled = false,public bool $readonly = false,public bool $allowTab = false,+ public bool $spellcheck = false,public ?string $helper = null,public bool $realtimeValidation = false,public bool $allowToPeak = true,- public string $defaultClass = "input scrollbar",+ public string $defaultClass = "input scrollbar font-mono",public string $defaultClassInput = "input") {//diff --git a/resources/views/components/forms/textarea.blade.php b/resources/views/components/forms/textarea.blade.phpindex f5bdc3e7df..641e437393 100644--- a/resources/views/components/forms/textarea.blade.php+++ b/resources/views/components/forms/textarea.blade.php@@ -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 }}"@elsewire:model={{ $value ?? $id }}diff --git a/resources/views/livewire/help.blade.php b/resources/views/livewire/help.blade.phpindex 556c02b984..a8536a94be 100644--- a/resources/views/livewire/help.blade.php+++ b/resources/views/livewire/help.blade.php@@ -2,7 +2,7 @@<div>Your feedback helps us to improve Coolify. Thank you! 💜</div><form wire:submit="submit" class="flex flex-col gap-4 pt-4"><x-forms.input id="subject" label="Subject" placeholder="Summary of your problem."></x-forms.input>- <x-forms.textarea rows="10" id="description" label="Description"+ <x-forms.textarea rows="10" id="description" label="Description" class="font-sans"placeholder="Please provide as much information as possible."></x-forms.textarea><div></div><x-forms.button class="w-full mt-4" type="submit" @click="modalOpen=false">Send</x-forms.button>