Skip to content

Commit

Permalink
Merge pull request #2 from andreiio/fix/selector-input-store-string-v…
Browse files Browse the repository at this point in the history
…alues

Wrap string values in quotes
  • Loading branch information
chrispymm authored Jun 8, 2020
2 parents 8dd1cc9 + 2d753f2 commit 218828b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions views/partials/form/utils/_selector_input_store.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
@endphp
@endif
@if (is_numeric($formFieldsValue)) {{ $formFieldsValue }}
@elseif(is_string($formFieldsValue)) '{{ $formFieldsValue }}'
@else {!! $formFieldsValue !!}
@endif
@else
Expand Down

0 comments on commit 218828b

Please sign in to comment.