Skip to content

Commit

Permalink
Fix crash on missing var
Browse files Browse the repository at this point in the history
  • Loading branch information
shalvah committed Oct 26, 2021
1 parent 61a4821 commit 4fb2447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/components/field-details.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<input type="{{ $inputType }}"
name="{{ $fullName }}"
data-endpoint="{{ $endpointId }}"
value="{{ $example }}"
value="{{ $example ?? '' }}"
data-component="{{ $component }}" @if($required)required @endif hidden>
@endif
@endif
Expand Down

0 comments on commit 4fb2447

Please sign in to comment.