laravel check if request has value

38

@if (request('category'))
    <input type="hidden" name="category" value="{{ request('category') }}">
@endif

Comments

Submit
0 Comments