From 2c70ed090e0c48ec1563537f262fdaa72b723de3 Mon Sep 17 00:00:00 2001 From: Favour Olayinka Date: Thu, 12 Sep 2024 09:02:11 +0100 Subject: [PATCH] fix matrix input email format issue (#562) --- .../views/mail/form/submission-notification.blade.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/api/resources/views/mail/form/submission-notification.blade.php b/api/resources/views/mail/form/submission-notification.blade.php index 80b28c72..d2be7f62 100644 --- a/api/resources/views/mail/form/submission-notification.blade.php +++ b/api/resources/views/mail/form/submission-notification.blade.php @@ -16,7 +16,11 @@ Your form "{{$form->title}}" has a new submission. {{$link['label']}}
@endforeach @else -{!! is_array($field['value'])?implode(',',$field['value']):nl2br(e($field['value']))!!} +@if($field['type'] == 'matrix') +{!! nl2br(e($field['value'])) !!} +@else +{!! is_array($field['value'])?implode(',',$field['value']):$field['value']!!} +@endif @endif @endif @endforeach