From 8e06fd78dfdd1057bfb8c872d540d016108eac8e Mon Sep 17 00:00:00 2001 From: Ricardo Gobbo de Souza Date: Sun, 22 Nov 2020 13:05:21 -0300 Subject: [PATCH] Fix default variable --- resources/views/components/editors/easymde.blade.php | 2 +- resources/views/components/editors/quill.blade.php | 2 +- resources/views/components/editors/trix.blade.php | 2 +- resources/views/components/pickers/flatpickr.blade.php | 2 +- resources/views/components/pickers/pickr.blade.php | 2 +- resources/views/components/pickers/pikaday.blade.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/views/components/editors/easymde.blade.php b/resources/views/components/editors/easymde.blade.php index 1bab7c5..7056b68 100644 --- a/resources/views/components/editors/easymde.blade.php +++ b/resources/views/components/editors/easymde.blade.php @@ -5,7 +5,7 @@ :id="$id" :label="$label" :bind="$bind" - :default="$slot->isEmpty() ? $default : $slot" + :default="$slot" :language="$language" :showErrors="$showErrors" :theme="$theme" diff --git a/resources/views/components/editors/quill.blade.php b/resources/views/components/editors/quill.blade.php index c76ebb7..b88eaf9 100644 --- a/resources/views/components/editors/quill.blade.php +++ b/resources/views/components/editors/quill.blade.php @@ -5,7 +5,7 @@ type="hidden" :id="$id" :name="$name" - :default="$slot->isEmpty() ? $default : $slot" + :default="$slot" />
pickr->merge(['id' => $id]) }}>
diff --git a/resources/views/components/pickers/pikaday.blade.php b/resources/views/components/pickers/pikaday.blade.php index 8bd5d5a..b88fe50 100644 --- a/resources/views/components/pickers/pikaday.blade.php +++ b/resources/views/components/pickers/pikaday.blade.php @@ -6,7 +6,7 @@ :label="$label" :type="'text'" :bind="$bind" - :default="$slot->isEmpty() ? $default : $slot" + :default="$slot" :language="$language" :showErrors="$showErrors" :theme="$theme"