Skip to content

Commit

Permalink
Show 0 or false to Labels values
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Oct 22, 2023
1 parent 3f1b3db commit cec6e03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/fields/label.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@component($typeForm, get_defined_vars())
@empty(!$value)
@if(strlen($value) > 0)
<p {{ $attributes }}>
{{ $value }}
</p>
@endempty
@endif
@endcomponent

0 comments on commit cec6e03

Please sign in to comment.