From 285ee498cbbb5f5f976d511744bebb8ebef3b5f9 Mon Sep 17 00:00:00 2001 From: AmirHosein Rahimi Date: Wed, 28 Feb 2024 21:03:33 +0330 Subject: [PATCH] Update modal.blade.php --- resources/views/button/modal.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/button/modal.blade.php b/resources/views/button/modal.blade.php index 68b6fca..c07630b 100644 --- a/resources/views/button/modal.blade.php +++ b/resources/views/button/modal.blade.php @@ -95,7 +95,7 @@ class="modal-dialog modal-dialog-scrollable modal-{{ $modal->size }} @if ($modal @case('input') @php - $value = T0team\LaravelPanel\Helper::value($row, $body['input']?->tableProperty); + $value = T0team\LaravelPanel\Helper::value($row, $body['input']?->tableProperty) ?? $body['input']?->value; @endphp
@include("panel::form.components.{$body['input']->file}", [