Skip to content

Commit 2c70ed0

Browse files
authored
fix matrix input email format issue (#562)
1 parent 6769da6 commit 2c70ed0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

api/resources/views/mail/form/submission-notification.blade.php

+5-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@
1616
<a href="{{$link['signed_url']}}">{{$link['label']}}</a> <br/>
1717
@endforeach
1818
@else
19-
{!! is_array($field['value'])?implode(',',$field['value']):nl2br(e($field['value']))!!}
19+
@if($field['type'] == 'matrix')
20+
{!! nl2br(e($field['value'])) !!}
21+
@else
22+
{!! is_array($field['value'])?implode(',',$field['value']):$field['value']!!}
23+
@endif
2024
@endif
2125
@endif
2226
@endforeach

0 commit comments

Comments
 (0)