PHP Classes

File: resources/views/vendor/livewire-tables/bootstrap-4/includes/search.blade.php

Recommend this page to a friend!
  Classes of Nyi Nyi Lwin   mtube   resources/views/vendor/livewire-tables/bootstrap-4/includes/search.blade.php   Download  
File: resources/views/vendor/livewire-tables/bootstrap-4/includes/search.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: mtube
Application to share videos between users
Author: By
Last change:
Date: 2 years ago
Size: 866 bytes
 

Contents

Class file image Download
@if ($showSearch)
    <div class="mb-3 mb-md-0 input-group">
        <input
            wire:model{{ $this->searchFilterOptions }}="filters.search"
            placeholder="{{ __('Search') }}"
            type="text"
            class="form-control"
        >

        @if (isset($filters['search']) && strlen($filters['search']))
            <div class="input-group-append">
                <button wire:click="$set('filters.search', null)" class="btn btn-outline-secondary" type="button">
                    <svg style="width:.75em;height:.75em" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
                    </svg>
                </button>
            </div>
        @endif
    </div>
@endif